on *:open:?:{
;This will only trigger when someone PMs yuo, not visa vera
if ([??:??:??] iswm $1) return
;check for the nework
if ($network == DALnet) {
;Check to see if they're on a channel you don't want to get a PM from
if ($nick ison #mIRC) || ($nick ison #mircscripts) || ($nick ison #help) {
;You can change msg to notice if you don't want to interupt your idle time
var %MSG = msg
;The $iif will use a timer, this will prevent you from getting an exessive flood if it's done by spambots.
$iif(%PM isnum,.timer 1 %PM) %MSG $nick Hello $nick $+ , if you're PMing me for help please ask in one of the following channel(s) $regsubex($str(.,$comchan($nick,0)),/(.)/g,$Comchan($nick,\n) $chr(32)) $+ .
;We're setting %PM to %PM + 3 and making it reduce by 1 every 1 second.
inc -u3 %PM 3
}
;You can add something here if the user is NOT on the above channels
}
;You can add something here that will if the network was NOT the stated above.
}