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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Htor
Beginner


Joined: 30 Sep 2004
Posts: 11

PostPosted: Tue Dec 14, 2004 8:53 am   

having problems undestanding how to manipulate triggers
 
been racking my brain trying to get this to work for hours now, with no use. Can anyone tell me why

#ALIAS pathhi {#PATHHI %walk( %item( %mapquery( {[NAME] LIKE '<%replace("%-1","'","''")>'}), 1));#SAY Quickest path is %walk( %item( %mapquery( {[NAME] LIKE '%<%replace("%-1","'","''")>%'}), 1))}
#VAR one {no-one} {no-one}
#TRIGGER {@one (*) - (*)} {pathhi %2}

Works, but

#ALIAS pathhi {#PATHHI %walk( %item( %mapquery( {[NAME] LIKE '<%replace("%-1","'","''")>'}), 1));#SAY Quickest path is %walk( %item( %mapquery( {[NAME] LIKE '%<%replace("%-1","'","''")>%'}), 1))}
#VAR one {no-one} {no-one}
#TRIGGER {@one (*) - (*)} {#var roomname %2}

doesn't?
I am trying to creat a variable for the roomname. My out put looks something like this:

Person - this is the room your in
Reply with quote
Htor
Beginner


Joined: 30 Sep 2004
Posts: 11

PostPosted: Tue Dec 14, 2004 11:31 pm   
 
Never mind... I got it
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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