All pastes #350709 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-02-11 17:36 UTC
rendered paste body
on *:TEXT:!eventoff*:#RStalk:{ if ($nick == Fr333_Wh1p) || ($address($nick,2) == $address($me,2) {
    msg $chan 4Events Off
set %escript OFF } } 

on *:TEXT:!eventon*:#RStalk:{ if ($nick == Fr333_Wh1p) || ($address($nick,2) == $address($me,2) {
    msg $chan 4Events On
set %escript ON } }

on *:TEXT:!setevent*:#RStalk:{ if (%escript == OFF) { notice $nick Event is off at the moment. Sorry for inconvience }
  if (%escript == ON) && ($2 isnum 1-138) && ($nick isop #RSTalk) || ($nick ishop #RSTalk) || ($nick == Magicboy700) || ($nick == Dayan2k6) {
    msg #RSTalk 4New Event1 - !event to view 
    set %world $2  
    set %time $3
    set %event $4-
  set %eventsetter $nick }
  if ($2 !isnum 1-138) { 
    notice $nick Since when is $2 a world? To set event: !setevent <world> <time> <event> 
    notice $nick This did not set a new event.. 
notice $nick You SHOULD use !evhelp for more information on time } }

on *:TEXT:!event*:#RStalk:{ if (%escript == OFF) { notice $nick Event is off at the moment. Sorry for inconvience }
  if (%escript == ON) && (%event == $null) || (%time == $null) || (%world == $null) || (%eventsetter == $null) {
  notice $nick No event is set at the moment. You can suggest an event by messaging an active op/hop } 
  if (%escript == OFF) && (%event != $null) && (%time == $null) && (%world == $null) && (%eventsetter == $null) { halt }
  elseif (%escript == ON) && (%event != $null) && (%time != $null) && (%world != $null) && (%eventsetter != $null) {
notice $nick 14Event set for2 $chan 14is:- 7World:2 %world 7 Time:2 %time 14(GMT) 7Event:2 %event 14Event set by:2 %eventsetter  } }

on *:TEXT:!endevent*:#Rstalk:{ if (%escript == OFF) { 
  msg $chan Event is off at the moment. Sorry for inconvience }
  if (%escript == ON) && ($nick isop #RSTalk) || ($nick ishop #RSTalk) {
    msg #RSTalk The event has ended. To suggest an event PM an active Halfop or Operator 
    unset %world
    unset %event 
    unset %eventsetter
unset %time } }


on *:TEXT:!evhelp*:#Rstalk:{ if ($nick isop #RStalk) || ($nick ishop #RSTalk) {
    msg $nick To set event: !setevent <world> <time> <event>
    msg $nick Time should be in GMT. Time can also be set as Now or Present etc.
    msg $nick TIME SHOULD NOT BE SET IN 1+ WORDS eg Right Now, In 22 minutes
    msg $nick Once the event is over use !endevent 
msg $nick Fr333_Wh1p is the only user who can set event script on } }