All pastes #620589 Raw Edit

Untitled

public text v1 · immutable
·published 2007-07-15 16:29 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 }
  if ($nick == r0ad_2_h3ll || $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 -u30 %set. $+ $nick on
    msg $chan 4,1World changed to9,1 $$2 4,1by9,1 $nick 
  }
  if ($2 >= 145) {
    notice $nick 4,1The world must be Between9,1 24,1 and9,1 144
    halt
  }
  if ($readini(PCW.ini,$chan,ScWorld) == (PCW.ini,$chan,World)) {
    timer2 0 30 msg $chan 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 [  Scouted by -9,1 $readini(PCW.ini,$chan,Scout)
    { else }
    timer2 0 30 msg $chan 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
  }
}