All pastes #282801 Raw Edit

Untitled

public text v1 · immutable
#282801 ·published 2006-12-17 21:41 UTC
rendered paste body
on *:text!sn91 setevent*:#:{
  if ($nick isop $chan) || ($nick ishop $chan) {  
  /write event.txt $2 $3- }
  {
    msg $chan New Event Set! Type ! or @event to see!
  }

 on *:text:!event*:#:{
    if ($nick isreg $chan) { HALT }
    if ($read(event.txt,s,$2-)) {
      notice $nick Event $+ .    } 
    else { notice $nick No Event found for $2- }
  }

 on *:text:@event*:#:{
    if ($nick isreg $chan) { HALT }
    if ($read(event.txt,s,$2-)) {
      msg $chan Event $+ .    } 
    else { notice $nick No Event found for $2- }
  }