#var corpses 0 #var mobs 1 #var invcorpses 0 #var move 1000 #ac {[ exits: %1 ]}{#var mobs 0}{script} #ac {^[Lag: %0] [Reply: %0] [Exp: %0]}{#if {$mobs=0}{#math {move}{$move+1};#var mobs 1;move}}{script} #ac {^[Lag: %0] [Reply: %0]}{#if {$mobs=0}{#math {move}{$move+1};#var mobs 1;move}}{script} #ac {^[Lag: %0] [%1: (%2)]}{#var mobs 1}{script} #ac {^They aren't here.}{pe}{script} #ac {^There is no one here by that name.}{pe}{script} #ac {^You lack the means to go there.}{$move}{script} #alias {mobhit}{#if {$mobs=0}{#var mobs 1;#var target $1;gg}}{script} #alias {move}{#status 3 Move: $move;$move} #alias {begin}{#gr enable script;pe} #alias {end}{rem_script;#out {white}{$curgold gold earned in $ticks minute(s).};#out {white}{$gpm average gold per minute.};#out {white}{$curxp exp earned in $ticks minute(s).};#out {white}{$xpm average exp per minute.}}{script} #alias {earnings}{#out {white}{$curgold gold earned in $ticks minute(s).};#out {white}{$gpm average gold per minute.};#out {white}{$curxp exp earned in $ticks minute(s).};#out {white}{$xpm average exp per minute.}} #alias {gg}{$attack $target}{script} #alias {ggh}{$attack $target}{script} #var attack kill #alias {setatt}{#var attack} #alias {rem_script}{#group delete script} #var ticks 1 #ac {#TICK}{#math ticks {$ticks+1};#math {gpm}{$curgold/$ticks};statgpm;#math {xpm}{$curxp/$ticks};statxp}{script} #var curgold 0 #var gpm 0 #var pgold 0 #status 1 GPM: 0 #ac {^You get a pile of %3,%2,%1 gold.}{#math {pgold}{$1+(1000*$2)+(1000000*$3)};addgold $pgold}{script} #ac {^You get a pile of %2,%1 gold.}{#math {pgold}{$1+(1000*$2)};addgold $pgold}{script} #ac {^You get a pile of %1 gold.}{#math {pgold}{$1};addgold $pgold}{script} #alias {addgold}{#math {curgold}{$curgold+$1};#math {gpm}{$curgold/$ticks};statgpm}{script} #alias {statgpm}{#status 1 GPM: $gpm}{script} #var curxp 0 #var xpm 0 #var pxp 0 #status 2 XPM: 0 #ac {^You receive %3,%2,%1 (%5,%4 learn curve%0) exp}{#math {pxp}{$1+(1000*$2)+(1000000*$3)+$4+(1000*$5)};addxp $pxp;pe}{script} #ac {^You receive %2,%1 (%5,%4 learn curve%0) exp}{#math {pxp}{$1+(1000*$2)+$4+(1000*$5)};addxp $pxp;pe}{script} #ac {^You receive %1 (%5,%4 learn curve%0) exp}{#math {pxp}{$1+$4+(1000*$5)};addxp $pxp;pe}{script} #ac {^You receive %3,%2,%1 (%4 learn curve%0) exp}{#math {pxp}{$1+(1000*$2)+(1000000*$3)+$4};addxp $pxp;pe}{script} #ac {^You receive %2,%1 (%4 learn curve%0) exp}{#math {pxp}{$1+(1000*$2)+$4};addxp $pxp;pe}{script} #ac {^You receive %1 (%4 learn curve%0) exp}{#math {pxp}{$1+$4};addxp $pxp;pe}{script} #alias {addxp}{#math {curxp}{$curxp+$1};#math {xpm}{$curxp/$ticks};statxp}{script} #alias {statxp}{#status 2 XPM: $xpm}{script} #gr disable script