on *:text:!ping:#:{ ctcp $nick ping }
on *:ctcpreply:*ping*:{
if ($2 == $null) { halt }
var %pt = $ctime - $2
if (%pt < 0) { %pt = 0 }
msg $chan $nick 4Your Ping reply is: [12 $+ $duration(%pt) $+ 4] I'm your ping servant.
}
The msg $chan doesn't work.( I want the msg to shoot in the channel where the user type in the word !ping) What could be wrong?
Help please.


Keep learning everyday, you'll be a genius.