on 1:TEXT:!top10:#:{ if (!$2) { msg $chan Please Select What You Want to Do !top10 golds !top10 sk !top10 sl !top10 egoldl !top10 esl !top10 esk } if ($2 == golds) { if ($exists(top10gs.txt)) { filter -ffcteu 2 32 top10gs.txt top10gs.txt * var %g = 1, %h = $iif(!$2,10,$2) while (%g <= %h) { if ($read(top10gs.txt,%g)) { .timer 1 %g msg $nick $+($chr(35),$iif($len(%g) == 1,0 $+ %g,%g),:) $gettok($read(top10gs.txt,%g),1,32) $gettok($read(top10gs.txt,%g),2,32) Gold Stolen } inc %g } timer 1 $calc($iif(!$3,$iif($lines(top10gs.txt) <= 10,$lines(top10gs.txt),10),$3 +1) msg $chan something? } } }