mIRC Home    About    Download    Register    News    Help

Print Thread
#248316 03/10/14 04:16 PM
Joined: Oct 2014
Posts: 13
B
Pikka bird
OP Offline
Pikka bird
B
Joined: Oct 2014
Posts: 13
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,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
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 $+ ! }



Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Oct 2014
Posts: 13
B
Pikka bird
OP Offline
Pikka bird
B
Joined: Oct 2014
Posts: 13
Thank you! I've been looking through the help files, but there's a lot there. smirk

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


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard