Jump to content

Track.tf: Difference between revisions

From AvatarWiki
Sulfar (talk | contribs)
m Track,tf moved to Track.tf
Sulfar (talk | contribs)
m Fixed crappy initiating
Line 4: Line 4:
<pre>
<pre>
/echo %% /track        Toggle auto track
/echo %% /track        Toggle auto track
/set auto_track 0
/set auto_track 1
/echo %% Autotracking enabled.


/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 -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 = \
/def -i track = \
Line 17: Line 17:
         /endif
         /endif


/track


</pre>
</pre>

Revision as of 08:38, 14 May 2008

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


/echo %% /track         Toggle auto track
/set auto_track 1
/echo %% Autotracking enabled.

/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