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
Sutex-Kindred
Wanderer


Joined: 26 Aug 2009
Posts: 83

PostPosted: Thu Aug 27, 2009 1:42 am   

Simple Trail or Tracking script- Eternal Darkness
 
Change the necessary txt for your mud. Remember to leave the Toggle button outside the Class folder (Trail)
This code was adapted from various other codes to work on Eternal Darkness. Original first source was posted at Eternal Darkness Forum Author Unknown
http://eternaldarknessmud.com.

CLASS {Trail} {enable}
#ALIAS tra {#VAR victim %1;#VAR tra 1;trail @victim}
#VAR tra {1}
#VAR victim {sutex}
#TRIGGER {^You're already in the same room!!} {#if @tra=1 {#bu 1;tra=0}}
#TRIGGER {A magical barrier blocks your way.} {#if @tra=1 {#bu 1;tra=0}}
#TRIGGER {Alas, you cannot go that way...} {#if @tra=1 {#bu 1;tra=0}}
#TRIGGER {You cannot figure it out you practice somemore.} {#IF @tra {trail @victim}}
#TRIGGER {You sense a trail (%w) from here!} {#IF @tra {%1} {#IF @tra {trail @victim}}
#TRIGGER {The %w seems to be closed.} {#if @tra=1 {#bu 1;tra=0}}
#KEY F1 {#bu 1}
#BUTTON 1 {Trail - Off} {#T+ trail;tra=1;#ec trail triggers - enabled} {Trail - On} {#T- trail;tra=0;#ec trail triggers - disabled} {} {1} {} {Size} {70} {20} {} {} {} {116} {47} {} {} "" {} {} {}
#CLASS 0
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