All pastes #621932 Raw Edit

Stuff

public text v1 · immutable
·published 2007-07-16 14:53 UTC
rendered paste body
on *:TEXT:.setpcw*:#: {
  if (%set. [ $+ [ $nick ] ] == on) { notice $nick You have already set a world within the space of 5 minutes. | halt }
  else {
    if ($2 >= 145) {
    notice $nick 4,1The world must be Between9,1 24,1 and9,1 144 | halt }
    else {
      if ($nick isop $chan || $nick ishop $chan || $nick isvoice $chan && ($$2 <= 144))  {
        writeini PCW.ini $chan World $2
        writeini PCW.ini $chan Nick $nick
        writeini PCW.ini $chan Time $CTime
        inc %sets. $+ $nick
        //set -u3 %set. $+ $nick on
        msg #pcxtreme 4,1World changed to9,1 $$2 4,1by9,1 $nick 
      timer2 0 30 msg #pcxtreme 4,1The Current PC World Is »9,1 $readini(PCW.ini,$chan,World) 4,1« [ Set By -9,1 $readini(PCW.ini,$chan,Nick) 4,1-  ] | halt }
      } else {
      msg #pcxtreme 4,1Please PM 9,1R0ad 2 H3ll4,1 ingame for ur Voice! Requirements: 9,1Cmb 100+ 
      timer2 0 30 msg $chan 4,1Requirements: Combat level9,1 100+,4,1 PM 9,1R0ad 2 H3ll 4,1ingame!
    }
  }
}