# Ping function... Sends a notice to the pinger when you are pinged. # Source: Ripped from the GargOyle script. Modified by Wizzu. # Date: 1st Jun 1995 # Modified: 23rd Jan 1997 alias pingmsg assign pingmsg on ^ctcp "% % PING *" { if (rmatch($1 #*)) {echo ### $0 has pinged everyone in $1.} {echo ### $0 pinged you.} if (pingmsg) {timer 1 notice $0 $pingmsg} }