All pastes #596872 Raw Edit

Anonymous

public text v1 · immutable
#596872 ·published 2007-06-30 07:38 UTC
rendered paste body
on *:TEXT:!setevent*:#:{
  if (%event. [ $+ [ $chan ] ]) {
    notice $nick there is a event currently set for this channel. Please remove the event to Create another one. 
  }
  else {
    set %event. [ $+ [ $chan ] ] $2-
    notice $nick The Current event is: %event. [ $+ [ $chan ] ] 
  }
}
on *:TEXT:!delevent:#:{
  if (%event. [ $+ [ $chan ] ]) {
    unset %event. [ $+ [ $chan ] ]
    notice $nick deleted event.
  }
  else {
    notice $nick This channel has not no events running. Please type !setevent to make a new event.
  }
}
on *:TEXT:!event*:#:{
  if (%event. [ $+ [ $chan ] ]) {
    notice $nick %event. [ $+ [ $chan ] ]
  }
  else {
    notice $nick This channel has not no events running. Please type !setevent to make a new event.
  }
}