mIRC Home    About    Download    Register    News    Help

Print Thread
#127991 19/08/05 07:23 AM
Joined: Aug 2005
Posts: 1
G
goodlsd Offline OP
Mostly harmless
OP Offline
Mostly harmless
G
Joined: Aug 2005
Posts: 1
Having looked everywhere in this forum, and also googled, I am looking for a quick script that will send a reply to a PM in mIRC. If someone sends a PM when I am away, I would like it to respond with a PM to them with the message: "At the moment I am not at my computer. I will reply when I return."

#127992 19/08/05 10:25 AM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
You need to use the ON OPEN event and an if statement to check if you're away.

Example:

on *:open:?:*:{
if ($away) {
msg $nick I am currently away and will message you when I get back.
}
}


Help file references:
/help ON OPEN
/help if then else


Regards,


Mentality/Chris

Link Copied to Clipboard