All pastes #538542 Raw Edit

Something

public text v1 · immutable
·published 2007-06-05 01:46 UTC
rendered paste body
on *:text:!set*:#:{
  if ($nick isop $chan) {
    tokenize 42 $2-
    set %reg [ $+ [ $chan ] ] $2
    set %note [ $+ [ $chan ] ] $3
    notice $nick the Reg reg and side note is now set for $chan
  }
}
on *:text:!clear*:#:{
  if ($nick isop $chan) {
    tokenize 42 $2-
    unset %reg [ $+ [ $chan ] ] $2
    unset %note [ $+ [ $chan ] ] $3
    notice $nick the reg and side note is now off for $chan
  }
}

on *:join:#:{
  notice $nick Hey $nick $+ , Welcome to $chan $+ , The current reg's are: %reg $+ , and the side note from the ops is: $ + %note $+ .
}