It's a bit complicated because you know that my frankentriggering means pushing and pulling it in any conceivable direction as fast as possible, but it was something like this:
Create trigger:
Name: Command trial
Intended for: Mobiles
Numeric arg: 100
Arguments: *
Commands:
if %cmd% == greetings
say Hello, %actor.name%
elseif %cmd% == goodbye
say Goodbye, %actor.name%
end
Get my test character (level 7) to greetings. (Greetings rather than greet because I had an idea somehow that emotes wouldn't work so I used goodbye which is an emote and greetings which isn't).
> greetings
Huh!?!
> goodbye
You wave goodbye to everyone.
Various changes tried one by one in no particular order and in various combinations:
Changed numeric arg to 0
changed argument to greetings
changed argument to g
changed %cmd% to %cmd.mudcommand%
Looked up various triggers and decided on 62 which is the trigger about 'look orb'.
Cut and pasted the commands over my commands. Still nothing.
Checked that the trigger was actually attached to the mob! (Yes, I've had problems with getting unattached triggers to work before...)
Checked that the room was actually inside and flagged indoors so that it wouldn't be a no-light type situation.
Checked to make sure that, yes, it was my low level character and not my high level character.
Checked to make sure that the parameters were the same as trigger 62.
Still nothing.
Checkload t 62 to see that it's loaded onto a magi guard.
Where magi to see that the guard is in room 134
Took the test character to room 134 to look orb which worked.
Went back to my mob's room.
trigedit 40301
W: copy trigger
62 (as far as I could see it was already the same but then why wasn't it working?)
Tested the trigger again and still nothing.
attach mob 62 quesnel
This worked!
detach quesnel 62 (This left only my 40301 on Quesnel although it thinks it's 62)
Again look orb works and now when I changed everything it all worked. So now I figured everything is good, right? Because it all works! So I brought in another mob, Brianne, who has the same trigger. My thinking is that my test character will do greet (by this time I've changed from greetings) and both of them will react. Nope, only Quesnel reacted. It was a bit confusing because Brianne actually had on another trigger (so two triggers) which was reacting to Quesnel's reaction so I put Quesnel to sleep. Brianne now refused to do anything at all.
attach mob 62 brianne
Look orb worked.
detach brianne 62
Now greet worked.
Woke up Quesnel and did greet.
Quesnel reacted to greet.
Brianne reacted to Quesnel. (other trigger)
Brianne reacted to greet.
So it was perfect! Well, except for the whole attach and detach thing which I totally don't understand.
Yeah, it's a lot of trials but that's how frankentriggering works. I don't worry about this because it's only cosmetic and it reacts as trigger 40301. The trigger still thinks it's trigger 62 and not 40301 but I think it stays like this until I reboot the mud. But I've done lots of triggers and never seen anything like this ignoring the trigger thing except when there's a problem with the trigger itself. I can see it's not the trigger because it worked on one mob but not the other until after the attach/detach at which time the trigger worked with no modification to the trigger itself. It was kind of like the mob didn't know what to do with the trigger until I gave it an example and then it was "Oh, okay, now I understand what you want." and off the trigger goes!