|
Fizban1216 Apprentice
Joined: 03 Feb 2007 Posts: 170
|
Posted: Sun Feb 07, 2010 3:44 am
Help with Simple Trigger |
Expected this to work as it's a relatively simple trigger, but doesn't seem to:
Code: |
#TRIG {The (%w) seems to be closed.} {open %1 %lastinput;%lastinput}
|
The first %lastinput seems to work, but not the second one.
Trying to get it to so that if I type:
e
and run into a closed door with name 'door' it will do:
open door e
e |
|
|
|
Dumas Enchanter
Joined: 11 Feb 2003 Posts: 511 Location: USA
|
Posted: Sun Feb 07, 2010 4:13 am |
Doesn't this have to do with using a function as a command? Maybe change the last one to #SEND %lastinput ?
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Sun Feb 07, 2010 5:23 am |
Right. You cannot use a function as a solitary command. You MUST use some sort of command with it, such as #SEND as Dumas suggested, or #EXEC. It's under the changes for zMUD users in the documentation for CMUD.
Charneus |
|
|
|
|
|