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
Reddytedy
Apprentice


Joined: 13 Oct 2000
Posts: 114
Location: USA

PostPosted: Mon Jan 27, 2003 10:14 pm   

Updated itsmarty's Compass (Simutronics)
 
I updated itsmarty's compass for GS tag triggering

#CLASS {Compass}
#TRIGGER {j} {#var compassdirections %replace( %gsl( j), "|~?", "");#IF %ismember( d, @compassdirections) {#VAR compassdown 1} {#VAR compassdown 0};#IF %ismember( e, @compassdirections) {#VAR compasseast 1} {#VAR compasseast 0};#IF %ismember( w, @compassdirections) {#VAR compasswest 1} {#VAR compasswest 0};#IF %ismember( n, @compassdirections) {#VAR compassnorth 1} {#VAR compassnorth 0};#IF %ismember( s, @compassdirections) {#VAR compasssouth 1} {#VAR compasssouth 0};#IF %ismember( se, @compassdirections) {#VAR compasssoutheast 1} {#VAR compasssoutheast 0};#IF %ismember( sw, @compassdirections) {#VAR compasssouthwest 1} {#VAR compasssouthwest 0};#IF %ismember( ne, @compassdirections) {#VAR compassnortheast 1} {#VAR compassnortheast 0};#IF %ismember( nw, @compassdirections) {#VAR compassnorthwest 1} {#VAR compassnorthwest 0};#IF %ismember( out, @compassdirections) {#VAR compassout 1} {#VAR compassout 0};#IF %ismember( u, @compassdirections) {#VAR compassup 1} {#VAR compassup 0}} "" {gsl}
#BUTTON 5 {OUT} {} {OUT} {} {} {compassout} {} {Size} {27} {24} {Pos} {24} {27} {} {110} {} {} "" {} {} {} {2}
#BUTTON 6 {NE} {} {NE} {} {} {compassnortheast} {} {Size} {27} {24} {Pos} {1} {54} {} {110} {} {} "" {} {} {} {2}
#BUTTON 7 {S} {} {S} {} {} {compasssouth} {} {Size} {27} {24} {Pos} {48} {27} {} {110} {} {} "" {} {} {} {2}
#BUTTON 8 {NW} {} {NW} {} {} {compassnorthwest} {} {Size} {27} {24} {Pos} {1} {1} {} {110} {} {} "" {} {} {} {2}
#BUTTON 9 {SE} {} {SE} {} {} {compasssoutheast} {} {Size} {27} {24} {Pos} {48} {54} {} {110} {} {} "" {} {} {} {2}
#BUTTON 10 {SW} {} {SW} {} {} {compasssouthwest} {} {Size} {27} {24} {Pos} {48} {1} {} {110} {} {} "" {} {} {} {2}
#BUTTON 11 {E} {} {E} {} {} {compasseast} {} {Size} {27} {24} {Pos} {24} {54} {} {110} {} {} "" {} {} {} {2}
#BUTTON 12 {UP} {} {UP} {} {} {compassup} {} {Size} {27} {36} {Pos} {1} {81} {} {110} {} {} "" {} {} {} {2}
#BUTTON 13 {DN} {} {DN} {} {} {compassdown} {} {Size} {27} {36} {Pos} {36} {81} {} {110} {} {} "" {} {} {} {2}
#BUTTON 14 {W} {} {W} {} {} {compasswest} {} {Size} {27} {24} {Pos} {24} {1} {} {110} {} {} "" {} {} {} {2}
#BUTTON 15 {N} {} {N} {} {} {compassnorth} {} {Size} {27} {24} {Pos} {1} {27} {} {110} {} {} "" {} {} {} {2}
#CLASS 0


Come play with us in Dragonrealms

http://www.play.net/dr
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