alias bindcheck { if (!$1) { echo -a Please enter an hour. (/bindcheck 3) if it was 3 hour long. } else { set %time $1 $+ hr set %name 0 .timer 1 1 .bindcheck2 window -d @binds } } alias bindstart { inc %name set %user $read(dfnames.txt,%name) .msg runescript !mage %user .timer 1 1 .bindstart } alias bindcheck2 { set %bindcheck on inc %name set %user $read(dfnames.txt,%name) .msg runescript !track mage %user @ $+ %time } on *:text:*tracker*magic*:?: { if (%bindcheck == on) && (runescript isin $nick) { if ($12 == %time $+ s:) { if ($remove($13,$chr(44)) >= 3000) { aline @binds %user 3has gained $strip($13) mage xp in %time $+ , which is about $calc($strip($remove($13,$chr(44)))/30) successfull binds .timer 1 1 .bindcheck2 } else { aline @binds %user 8has gained $strip($13) mage xp in %time $+ , which is about $calc($strip($remove($13,$chr(44)))/30) successfull binds .timer 1 1 .bindcheck2 } } else { aline @binds %user has gained no xp in %time | .timer 1 1 .bindcheck2 | halt } } }