mIRC Home    About    Download    Register    News    Help

Print Thread
#248316 03/10/14 04:16 PM
B
Blondemoscow
Blondemoscow
B
i want my bot to be able to call out usernames of whoever says a certain command. Example, someone says !hi and the bot responds with Hello, (username)! So it would be specific to who issues the command each time. Can anyone help?

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
It is very easy have a look into the help files and you will understand but take the code that you want and change anything you want for.

Help details:

/help on text

Example Code:

Code:
ON !*:TEXT:!hello:#MY-CHANNEL: { msg $chan Hello $nick $+ ! }
; or
ON !*:TEXT:!hi:#MY-CHANNEL: { msg $chan Hi $nick $+ ! }


B
Blondemoscow
Blondemoscow
B
Thank you! I've been looking through the help files, but there's a lot there. smirk

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Try compare my example with the help file examples and you will understand the syntax and what you need to change for.


Link Copied to Clipboard