Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
Beowulf
Newbie


Joined: 15 Apr 2001
Posts: 4
Location: Sweden

PostPosted: Sun Apr 15, 2001 6:08 pm   

Nodeka - AutoTrack Script
 
This is what i use at the mud i play to easier track down where enemies are.
Once enemy located (ex. Your target is standing here) the script turns it self off.

Here's how the mud output looks like
----------------------------------------
The Continent of Gedaon
[Exits: north east south west]
Splinter is standing here.


[Rep: Eowyn] [H:9999/S:1071/E:2885] [Gold: 2731 ] [xp:449079249] [ 968 ] []->track

[ Tracks ] (freshest tracks or scents first)

Lanfear was seen west of here.

-------------------------------------------

#CLASS {AutoTracker}
#ALIAS TrackDown {#var AutoTrack 1;#pr TrackTarget target?;track}
#ALIAS TrackOff {#var TrackTarget 0;#var AutoTracker 0;#var AutoTrack 0}
#VAR TrackTarget {Drakmorden}
#VAR AutoTrack {0}
#TRIGGER {^ [ Tracks ] (freshest tracks or scents first)$} {#if (@AutoTrack=1) {#VAR AutoTracker 1}} "" {case|verbatim}
#TRIGGER {^ @TrackTarget was seen (%w) of here.$} {#IF (@AutoTrack=1) {#VAR AutoTrack 0;%1;Track}}
#TRIGGER {^No visible tracks.$} {TrackOff}
#TRIGGER {*@TrackTarget* is standing here.$} {TrackOff}
#CLASS 0


short help
The alias TrackDown starts the whole thing
just type TrackDown and you'll be promted for a name of the person/mob you want to find

TrackOff - Halt's the script, useful when you find your target etc. Make sure you 'TrackOff' when you're done tracking.

Anyway, this works pretty good where I play. If you use it on some other place you're ofcourse gonna have to change the triggers :)

-Beowulf
-Nodeka.com 23, 6000, 9000
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net