Combined Safetrack & Fasttrack

This is a safetrack and fasttrack combined. The fasttrack tracks once and goes that direction. The safetrack tracks 3 times, then check to see if a direction comes up 2 times or more…if so, move. If not, track 3 times again until it gets 2 equal ‘sniffs’.

Safetrack is started by: strack mobname (strack tiffany)

Fasttrack is started by: ftrack mobname (ftrack minotaur)

To use this, turn parsing OFF in zmud, and copy-paste each line to the zMUD command line,
Yesyes, I'm sorry... the .mud file will be there soon.

Adjust where you want and use how you like.

#ALIAS dotrack {track @target;track @target;track @target} {safetrack}

#ALIAS troff {#T- track;#T- fasttrack;#T- safetrack;#SHOW Autotrack has been turned off.;#VAR tracking 0;#VAR track1 0;#VAR track2 0;#VAR track3 0} {track}

#ALIAS trcheck {#IF (@track1=@track2) {@track1;trnext} {#IF (@track1=@track3) {@track1;trnext} {#IF (@track2=@track3) {@track2;trnext} {trnext}}}} {safetrack}

#ALIAS trnext {#VAR track1 0;#VAR track2 0;#VAR track3 0;dotrack} {safetrack}

#ALIAS strack {#t- fasttrack;#t+ track;#t+ safetrack;#var target %1;dotrack}

#ALIAS trassign {#IF (@tracking!=0) {#IF (@track1=0) {#VAR track1 @tracking} {#IF (@track2=0) {#VAR track2 @tracking} {#IF (@track3=0) {#VAR track3 @tracking;#VAR tracking 0;trcheck}}}} {troff}}} {safetrack}

#ALIAS ftrack {#t- safetrack;#t+ track;#t+ fasttrack;#var target %1;track @target}

#VAR target {0}

#VAR tracking {0}

#VAR track3 {0}

#VAR track1 {0}

#VAR track2 {0}

#TRIGGER {You sense a trail ({down|up|north|east|west|south}) from here} {#VAR tracking %1;trassign} {safetrack} 517

#TRIGGER {You're already in the same room!!} {troff} {track} 517

#TRIGGER {You can't sense a trail to * from here.} {troff} {track} 517

#TRIGGER {You sense a trail ({down|up|north|east|west|south}) from here} {%1;track @target} {fasttrack} 517