Code:
Name: 'Obj Command 100 - portal to Midgaard', VNum: [ 100], RNum: [ 100]
Trigger Intended Assignment: Objects
Trigger Type: Command , Numeric Arg: 7, Arg list: en
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
if %cmd.mudcommand% == enter && portal /= %arg%
%send% %actor% You enter the portal.
%echoaround% %actor% %actor.name% bravely enters the portal.
%teleport% %actor% 3001
%force% %actor% look
%echoaround% %actor% %actor.name% just stepped through a portal.
else
%send% %actor% %cmd% what?!
end
Code:
Name: 'Room Command - portal to Midgaard', VNum: [ 101], RNum: [ 101]
Trigger Intended Assignment: Rooms
Trigger Type: Command , Numeric Arg: 100, Arg list: en
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
if %cmd.mudcommand% == enter && portal /= %arg%
%send% %actor% You enter the portal.
%echoaround% %actor% %actor.name% bravely enters the portal.
%teleport% %actor% 3001
%force% %actor% look
%echoaround% %actor% %actor.name% just stepped through a portal.
else
%send% %actor% enter what?!
end
Code:
Name: 'Mob Command - portal to Midgaard', VNum: [ 102], RNum: [ 102]
Trigger Intended Assignment: Mobiles
Trigger Type: Command , Numeric Arg: 100, Arg list: en
Commands:
if %cmd.mudcommand% == enter && portal /= %arg%
%send% %actor% You enter the portal.
%echoaround% %actor% %actor.name% bravely enters the portal.
%teleport% %actor% 3001
%force% %actor% look
%echoaround% %actor% %actor.name% just stepped through a portal.
else
%send% %actor% enter what?!
end
If this was helpful please
vote
or leave a
review
for TBA.