on *:TEXT:.gratz*:#: { if ($$3 >= 2 && ($$3 <= 99)) { if ($$4 == att || $$4 == attack || $$4 == str || $$4 == strength || $$4 == def || $$4 == defense || $$4 == hits || $$4 == hitpoints || $$4 == range || $$4 == ranged || $$4 == pray || $$4 == prayer || $$4 == mage || $$4 == magic || $$4 == cooking || $$4 == woodcut || $$4 == woodcutting || $$4 == fletching || $$4 == fishing || $$4 == firemaking || $$4 == crafting || $$4 == smithing || $$4 == mining || $$4 == herblore || $$4 == agil || $$4 == agility || $$4 == thieving || $$4 == slayer || $$4 == farming || $$4 == rc || $$4 == runecraft || $$4 == hunter || $$4 == construction) { msg $chan  $+ $rand(1,15) Congratz $$2 on level - $$3 - $$4 !} else { notice $nick that is not a valid skill } } } }