Track.tf

From AvatarWiki
Revision as of 03:21, 14 May 2008 by Sulfar (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Bug reports, suggestions and/or diffs are appreciated, sulfar _AT_ inbox +DOT+ com


/echo %% /track         Toggle auto track
/set auto_track 0

/def -i -E(auto_track) -mregexp -t"^You see your quarry's trail head (east|west|north|south|down|up) from here!" do_track = %{P1} %;/echo %%% Autotracking:  %{P1}


/def -i track = \
        /set auto_track $[!auto_track] %;\
        /if (auto_track) \
            /echo %%% Autotracking enabled.%;\
        /else \
            /echo %%% Autotracking disabled%;\
        /endif

/track