mIRC Home    About    Download    Register    News    Help

Print Thread
#156661 19/08/06 05:34 AM
X
Xtibian
Xtibian
X
I have looked and really havent found anything at all. I would like something that when you type '!commands' it shows a list of commands that my bot can do. Like special commands that I have added in. My friend has this script and I know a lot of bots do. He wont give me the script. frown So Ill ask everyone here.

Below is what I mean. smile

Yes, I did search for this script found nothing worth while.

"[12:26am] <07myname> !commands

[12:26am] <13botsname> 10!req - tells you our clans req.
[12:26am] <13botsname> 10!random - dont wanna go their...
[12:26am] <13botsname> 10!8ball - a simple version of 8ball
[12:26am] <13botsname> 10!link - shows you our forum link
[12:26am] <13botsname> 10!fact - gives random TRUE facts!"

#156662 19/08/06 05:45 AM
Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
Code:
on *:TEXT:!commands:#: {
  /msg $chan 10!req - tells you our clans req.
  /msg $chan 10!random - dont wanna go their...
  /msg $chan 10!8ball - a simple version of 8ball
  /msg $chan 10!link - shows you our forum link
  /msg $chan 10!fact - gives random TRUE facts!"
}


Add more commands using /msg $chan <command and description>

#156663 19/08/06 05:48 AM
X
Xtibian
Xtibian
X
Rather simple. smile I feel like a noob! Well I have no clue about scripting for this so.

Thank you very much. smile

#156664 19/08/06 02:53 PM
Joined: Dec 2002
Posts: 1,536
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,536
something you might wanna do is delay those messages if it becomes a lot. Use either the /timercommand OR the $read identifyer with time delays. They're both in the help file too smile


Those who fail history are doomed to repeat it
#156665 20/08/06 05:21 AM
X
Xtibian
Xtibian
X
ok ty.

That will be handy.


Link Copied to Clipboard