PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: HappyTheMan on 24 August, 2006, 19:55:03

Title: Turn !help to !shelp
Post by: HappyTheMan on 24 August, 2006, 19:55:03
Hi everyone!  :)
I use a bot called RoboCop v10. Here is my problem: it uses the command !shelp to get the help page. Is it possible to bypass ptokax inbuild help (!help command) so that when someone types !help he gets the robocop's help page instead?
So it would be great if someone could tell me the key lines of a script that would listen for the string "!help" and turn it to "!shelp" BEFORE potkax gets it
Thanks a lot!!
Have a nice day
Title: Re: Turn !help to !shelp
Post by: JueLz on 24 August, 2006, 20:08:41
Yes it is possible but only optimus can change that
robocop is a compiled bot ;)
Title: Re: Turn !help to !shelp
Post by: HappyTheMan on 24 August, 2006, 21:38:20
hmm but i don't want to change the robocop bot. I suppose it would be possible to create a kind of trigger bot that when it detects the string !help then changes it to !shelp
Title: Re: Turn !help to !shelp
Post by: JueLz on 24 August, 2006, 21:40:46
Hummm that im not sure you can do...
but maybe you can
Title: Re: Turn !help to !shelp
Post by: 6Marilyn6Manson6 on 07 September, 2006, 13:45:02
You can use this script: http://forum.ptokax.org/index.php?topic=6165.0

and change:

if cmd == "!help" then

with:

if cmd == "!shelp" then
Title: Re: Turn !help to !shelp
Post by: Tw?sT?d-d?v on 07 September, 2006, 17:52:54
or just go into the robocop rightclicker script( depening on version of robo ) ill go on mine robo v 10.21
The ptokax commands are in folder called Lua file ( inbuilt cmds ) & robo commands are in folder tbl file ( scriptcmds )

find !help and change to !shelp
Title: Re: Turn !help to !shelp
Post by: HappyTheMan on 28 September, 2006, 20:26:31
sorry for the late reply
any way, I don't want the ptokax inbuild cmds but the Robocop's cmds...
thx anyway :)