All pastes #589705 Raw Edit

Anonymous

public text v1 · immutable
#589705 ·published 2007-06-26 04:19 UTC
rendered paste body
on *:text:!setevent*:#: {
  if ($nick isop $chan) {
    if 
    inc %event.inc
    set %event [ $+ [ $chan [ $+ [ %event.inc ] ] ] ] $2-
    set %enoticer [ $+ [ $chan [ $+ [ %event.inc ] ] ] ] $nick
    msg $chan 14An event has been updated! Type 12!event14 to see it!
    if (-t isin $3-) {
      set %etime [ $+ [ $chan [ $+ [ %event.inc ] ] ] ] $remove($3-,-t)
    }
    else set %etime [ $+ [ $chan [ $+ [ %event.inc ] ] ] ] $time
  }
  elseif ($nick !isop $chan) {

    Notice $nick 14You can't use this command with your 12status.

  }
}