on *:TEXT:!Gratz *:#:{ if ($3 == $null) { notice $nick wrong syntax !gratz levelskill } else { if ($2 !isnum) { notice $nick Wrong syntax: !gratz lvl skill } elseif ($2 < 1 ) { notice $nick wrong, you cant get a level under 1! } elseif ($2 > 99) { notice $nick wrong, you cant get a level higher than 99! } else { else ($3 != attack) || ($3 != strength) || ($3 != hitpoints) || ($3 != defence) || ($3 != prayer) || ($3 != herblore) || ($3 != hunter) || ($3 != range) || ($3 != magic) || ($3 != runecrafting) || ($3 != woodcutting) || ($3 != agilty) || ($3 != fletching) || ($3 != cooking) || ($3 != smithing) || ($3 != mining) || ($3 != slayer) || ($3 != construction) || ($3 != firemaking) || ($3 != thieving) || ($3 != crafting) || ($3 != fishing) || ($3 != farming) { notice $nick ERROR: unknown skill. } else { msg $chan 4@12!6#7*9& 12OMFG 11GRATZ 10$NICK 4ON 9GETTING 2LEVEL 4$2 FOR $3 $+ !9&7*6#12!4@ } } } }