All pastes #330040 Raw Edit

Anonymous

public text v1 · immutable
#330040 ·published 2007-01-27 08:35 UTC
rendered paste body
on *:text:@time *:#: { 
if ($2 ison $chan) {
ctcp $2 time  
set %chan $chan
msg %chan $2 $+ 's local date/time is %timeresponse
unset %timeresponse $2-
unset %chan $chan
halt }
else { msg $chan $2 isn't on the current channel( $+ $chan $+ ) } 
}

on *:CtcpReply:time*: { set %timeresponse $2- }