mIRC Homepage
Posted By: KoRn18 on notice - 12/09/03 07:26 PM
on 1:NOTICE:*:?:....
first i did not find these in the help file..
second how would i respond only if the person used /notice, and not /query or /msg
Posted By: r0ck0 Re: on notice - 12/09/03 07:28 PM
Code:
on *:NOTICE:*:?:notice $nick hey $nick you just sent me a private NOTICE :)
Posted By: KoRn18 Re: on notice - 12/09/03 07:29 PM
doesnt ? refer to query messages?
Posted By: r0ck0 Re: on notice - 12/09/03 07:31 PM
? means you were the target (private)
which is true for ON TEXT and ON ACTION as well
type /help ON NOTICE
Posted By: KoRn18 Re: on notice - 12/09/03 07:35 PM
but if i use ? will it send the message if the person /query or /msg's me (which i dont want)
Posted By: r0ck0 Re: on notice - 12/09/03 07:44 PM
no .. only if they send you a private /notice
if they sent you a private /msg or /query it would be handled by the ON TEXT event
Posted By: Collective Re: on notice - 12/09/03 11:04 PM
on *:TEXT:*:#: triggers when a message is sent to a channel
on *:TEXT:*:?: triggers when a message is sent to you

on *:NOTICE:*:#: triggers when a notice is sent to a channel
on *:NOTICE:*:?: triggers when a message is sent to you

ctcp *:*:#: triggers when a ctcp is sent to a channel
ctcp *:*:?: triggers when a ctcp is sent to you
Posted By: andymps Re: on notice - 12/09/03 11:08 PM
u forgot the * triggers when either happens
© mIRC Discussion Forums