PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Finished Scripts => Topic started by: Rincewind on 27 March, 2008, 19:40:37

Title: Rincewind's Anagrams v2.0.0 Lua 5.1 API2 Edition
Post by: Rincewind on 27 March, 2008, 19:40:37
Here (http://www.darknexus.co.uk/scripts/download.php?view.337) for download is Rincewind's Anagrams v2.0.0 Lua 5.1 API2 Edition cut from Rincewind's Grimoire v5.0.0 Lua 5.1 API2 Edition

CHANGES
----------------------
• near total rewrite of script and GUI
• added option to play Anagrams in PM
Title: Re: Rincewind's Anagrams v2.0.0 Lua 5.1 API2 Edition
Post by: Prathmesh on 29 March, 2008, 18:35:48
Both Numbers & Anagrams Rocks  ;D

Thanks a lot for API 2 Versions I ve been waiting for stand alones

EDIT

A little help required with rightclicks I wish to use custom right clicks
This is what I used to use in settings file with older version of Anagrams & Numbers

function LoadRightClick(user)
    user:SendData("$UserCommand 0 3 |")
        user:SendData("$UserCommand 1 3 Games\\Anagrams\\Start$<%[mynick]> "..tGeneral.sPrefix..
"astart&#124;|")

   
        user:SendData("$UserCommand 1 3 Games\\Anagrams\\Stop$<%[mynick]> "..tGeneral.sPrefix..
"astop&#124;|")

        user:SendData("$UserCommand 1 3 Games\\Anagrams\\Scores$<%[mynick]> "..tGeneral.sPrefix..
"ascores&#124;|")
    end


can u tell me how do I get similar results with API 2 Anagrams(as well as Numbers coz same pattern goes for both)
Title: Re: Rincewind's Anagrams v2.0.0 Lua 5.1 API2 Edition
Post by: Rincewind on 29 March, 2008, 23:20:25
You can change the right click menu on the Languages ] Right Click form and the commands can be changed on the Languages ] Commands form.