Htor Beginner
Joined: 30 Sep 2004 Posts: 11
|
Posted: 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 |
|