Code:
Name: 'Prison Teleport 97-91', VNum: [ 172], RNum: [ 172]
Trigger Intended Assignment: Rooms
Trigger Type: Speech , Numeric Arg: 1, Arg list: *
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
* evaluate the first word.
eval word %speech.car%
* evaluate the rest of the speech string.
eval rest %speech.cdr%
* keep looping until there are no more words.
while %word%
if %word% == freedom && %actor.room.vnum% == 97
%send% %actor% You feel a strange shifting as you are teleported out of the cell, you hear a distant clanking as the shackles fall to the floor.
%teleport% %actor% 96
elseif %word% == integrity && %actor.room.vnum% == 96
%teleport% %actor% 95
%send% %actor% You feel a strange shifting as you are teleported out of the cell.
elseif %word% == wisdom && %actor.room.vnum% == 95
%teleport% %actor% 94
%send% %actor% You feel a strange shifting as you are teleported out of the cell.
elseif %word% == perseverance && %actor.room.vnum% == 94
%teleport% %actor% 93
%send% %actor% You feel a strange shifting as you are teleported out of the cell.
end
eval word %rest.car%
eval rest %rest.cdr%
done
for TBA.