11.04.2010, 17:40
Well, it's hard to describe the whole question in a few words (that's why the heading sux)
Ok, is it possible to create a command which let the echobot query a user on IRC?
Example:
"<~Razor[MM]> !talkto XYZ i love cookies!"
Then the bot shall query the user XYZ and send him the message "i love cookies"!
I already tried it like that:
But it fails.
Is there any way to get it working?
Ok, is it possible to create a command which let the echobot query a user on IRC?
Example:
"<~Razor[MM]> !talkto XYZ i love cookies!"
Then the bot shall query the user XYZ and send him the message "i love cookies"!
I already tried it like that:
Код:
IRCCMD:talkto(botid, channel[], user[], host[], params[]) { IRC_Say(botid, "/msg %s %s",params[1], params[2]); return true; }
Is there any way to get it working?