I'm having another problem. If mort gives correct item, nothing happens. If mort then gives wrong item, the trigger kicks in, and runs BOTH correct item trigger, and it's else.
if (%object.vnum% != 29353)
if !%actor.varexists(ThoseWhoHarp)%
set ThoseWhoHarp 1
remote ThoseWhoHarp %actor.id%
wait 1 s
say Hmm..
emote examines %object% carefully and closes his eyes for a short time.
wait 2 s
emote smiles happily, and opens his eyes.
say Yes, this is indeed the item He sent me for.
mjunk %object%
emote carefully removes a small jeweled trinket, and places it carefully on the dressing table.
say A card of my calling.
wait 2 s
%echo% The room becomes very cold suddenly, and without notice a dark shadow with red eyes hovers near the ceiling.
wait 1 s
%echo% The shadow stretches outward and begins to solidify, taking the shape of a deadly looking creature.
wait 1 s
say Dark and empty! Hide, hide! It's a bloody grey! oh Dark and empty, we're done for. Quick, hide!
wait 6 s
say psst! Hide!
wait 7 s
say Hurry!
wait 4 s
%echo% The demon solidifies completely, and begins to lurk around the room.
%load% mob 29352
wait 4 s
function 29356
else
wait 1 s
%send% %actor% Jak examines it carefully, then shakes his head slowly.
wait 1 s
say No no, this isn't it. But it should fetch a raven or two...
egrin
wait 1 s
rdelete ThoseWhoHarp %actor.id%
wink %actor.name%
mjunk %object%
endif
endif
The result of this script if correct should tell the player to hide, who hides and is concealed from the loaded mob who will otherwise slay the unflagged player. if it is the wrong item, the halfling pockets it, and that's that.
When it runs correctly you get an error:
Jak Fleet states, 'Hmm..'
Jak Fleet examines }1409672 carefully and closes his eyes for a short time.
-----------------
Also, it will not run when the correct item is given, but WILL run if you give an incorrect item twice. What exactly am I doing wrong, and what should I do to fix this? Once I understand this, I can continue one with the rest of the multistep quest.