mIRC Home    About    Download    Register    News    Help

Print Thread
#156661 19/08/06 05:34 AM
Joined: Aug 2006
Posts: 44
X
Xtibian Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Aug 2006
Posts: 44
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!"


Newbie Scripter. Learning pretty fast...lol :P
#156662 19/08/06 05:45 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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>


-KingTomato
#156663 19/08/06 05:48 AM
Joined: Aug 2006
Posts: 44
X
Xtibian Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Aug 2006
Posts: 44
Rather simple. smile I feel like a noob! Well I have no clue about scripting for this so.

Thank you very much. smile


Newbie Scripter. Learning pretty fast...lol :P
#156664 19/08/06 02:53 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
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
Joined: Aug 2006
Posts: 44
X
Xtibian Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Aug 2006
Posts: 44
ok ty.

That will be handy.


Newbie Scripter. Learning pretty fast...lol :P

Link Copied to Clipboard