rendered paste bodyon *:TEXT:!level*:#Wsc:{
;Sytax version one <level> <skill>
if ( $2 isnum && $3 isalpha ) {
if ($2 <= 99 && $2 > 1 ) {
if ( $3 == attack || $3 == strength || $3 == defence || $3 == def || $3 == hitpoints || $3 == hp || $3 == ranged || $3 == range || $3 == prayer || $3 == magic || $3 == mage || $3 == crafting || $3 == agility || $3 == herblore || $3 == thieving || $3 == rc || $3 == runecrafting || $3 == fletching || $3 == mining || $3 == smithing || $3 == fishing || $3 == cooking || $3 == firemaking || $3 == fm || $3 == woodcutting || $3 == wc || $3 == slayer || $3 == farming || $3 == con || $3 == construction ) {
if ( $2 >= 90 && $2 < 99 ) { /msg $chan 2~!~ Holly Hell Call The Press!!! $nick Got $2 $3 ~!~ }
if ( $2 < 40 ) { /msg $chan 2~!~ Woot $nick Got $2 $3 ~!~ }
if ( $2 >= 40 && $2 < 90 ) { /msg $chan 2~!~ PMG $nick Got $2 $3 ~!~ }
if ( $2 == 99 ) { /msg $chan 2 ~!~ Omfg holly shit WOW $nick Got frikin $2 $3... props to $nick !!!!!!! ~!~ }
}
else { notice $nick Sorry but what you entered is either not a skill or you entered it in the wrong syntax. The correct sytax is !level <level> <skill> }
}
else { notice $nick Sorry but you could not have gotten that level. Go get an actual level for once }
}
;Syntax version two <skill> <level>
elseif ( $2 isalpha && $3 isnum ) {
if ( $3 <= 99 && $3 > 1 ) {
if ( $2 == attack || $2 == strength || $2 == defence || $2 == def || $2 == hitpoints || $2 == hp || $2 == ranged || $2 == range || $2 == prayer || $2 == magic || $2 == mage || $2 == crafting || $2 == agility || $2 == herblore || $2 == thieving || $2 == rc || $2 == runecrafting || $2 == fletching || $2 == mining || $2 == smithing || $2 == fishing || $2 == cooking || $2 == firemaking || $2 == fm || $2 == woodcutting || $2 == wc || $2 == slayer || $2 == farming || $2 == con || $2 == construction ) {
if ( $3 >= 90 && $2 < 99 ) { /msg $chan 2~!~ Holly Hell Call The Press!!! $nick Got $3 $2 ~!~ }
if ( $3 < 40 ) { /msg $chan 2~!~ Woot $nick Got $3 $2 ~!~ }
if ( $3 >= 40 && $2 < 90 ) { /msg $chan 2~!~ PMG $nick Got $3 $2 ~!~ }
if ( $3 == 99 ) { /msg $chan 2 ~!~ Omfg holly shit WOW $nick Got frikin $3 $2... props to $nick !!!!!!! ~!~ }
}
else { notice $nick Sorry but what you entered is either not a skill or you entered it in the wrong syntax. The correct sytax is !level <level> <skill> }
}
else { notice $nick Sorry but you could not have gotten that level. Go get an actual level for once }
}
}