When typing pull lever, nothing happens. I have the trigger set. I have the script in both the room and the zone I am trying to pull the lever in.
Code:
Trigger Editor [903]
1) Name : door trigger
2) Intended for : Rooms
3) Trigger types: Command
4) Numeric Arg : 100
5) Arguments : pull
6) Commands:
if %arg% == lever
if %is_open%==1
%send% %actor.name% You pull the lever, but nothing more happens.
%echoaround% %actor.name% %actor.name% pulls the lever, but nothing happens.
else
%send% %actor.name% You hear a faint click, then a scraping noise from the west.
%echoaround% %actor.name% %actor.name% pulls on the lever, and you hear a scraping noise from the west.
%at% 926 %echo% The doorway along the north wall slides open.
%at% 928 %echo% You see the back of the doorway slide away, opening the exit to the room to the south!
%door% 926 south room 929
%door% 929 north room 926
set is_open 1
global is_open
end
else
return 0
end