All pastes #584625 Raw Edit

Shawn

public text v1 · immutable
·published 2007-06-22 21:11 UTC
rendered paste body
/*
Okay, So I made a BadWorld script for guy making a PC clan. Type !bad World-here to add a world. !badCheck to check the worlds, and !badReset to reset the worlds. Note: Anyone can use these commands, You can change that if you want, I don't care. Enjoy it.
*/
on *:TEXT:!bad*:#:{
  if ($1 == !bad) { 
    set %BadWorlds [ $+ [ $2 ] ] $2
    msg $chan World $2 added to BadWorld list.
  }
  elseif ($1 == !badcheck) { 
    var %x 1
    while (%x < 144) {
      if (%BadWorlds [ $+ [ %x ] ] == %x) { 
        var %BadWorldsShow %BadWorldsShow %x
      }
      inc %x
    }
    msg $chan %BadWorldsShow
  }
  elseif ($1 == !BadReset) { 
    msg $chan Badworlds reset. 
    unset %Badworlds*
  }
}