All pastes #427316 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-06 18:50 UTC
rendered paste body
on $*:TEXT:/^[!](grats|gratz|grat) */Si:#:{ /set %grats $rand(1,16) 
  if ($2 !isnum 3-99) { .notice $nick Invalid level, must be 3-99! | halt }
  else {
    if ($3 == att ) || ($3 == attack) || ($3 == str) || ($3 == strengh) || ($3 == defence) || ($3 == def) || ($3 == range) 
    || ($3 == pray) || ($3 == prayer) || ($3 == mage) || ($3 == magic) || 
    ($3 == runecraft) || ($3 == rc) || ($3 == runecrafting) || ($3 == con) || ($3 == construct) || ($3 == construction) || ($3 == hitpoints) || ($3 == hp) || 
    ($3 == agil) || ($3 == agility) || ($3 == herb) || ($3 == herblore) || ($3 == herby) || ($3 == thief) || ($3 == thiev) || 
    ($3 == thieving) || ($3 == thieve)|| ($3 == craft) || ($3 == crafting) || ($3 == fletch) || ($3 == fletching) || ($3 == slayer) || 
    ($3 == slay) || ($3 == hunt) || ($3 == hunter) || ($3 == hunting) || ($3 == mining) || ($3 == smith) || ($3 == smithing) || 
    ($3 == fish) || ($3 == fishing) || ($3 == cook) || ($3 == cooking) || ($3 == fm) || ($3 == firemaking) || ($3 == wc) || 
    ($3 == woodcut) || ($3 == woodcutting) || ($3 == farm) || ($3 == farming)