All pastes #330439 Raw Edit

Untitled

public text v1 · immutable
#330439 ·published 2007-01-27 22:17 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-
    halt
  }
  else { 
    msg $chan $2 isn't on the current channel( $+ $chan $+ )
}
 }
on *:CtcpReply:time*: { 
  set %timeresponse $2-
} 
}