Chaining trigger output

Posted by Blakat on Sat 27 Aug 2016 05:32 PM — 9 posts, 30,104 views.

#0
I'm trying to setup a trigger that doesn't multiple outputs at the same time.

So...


INPUT
*Picks up a wooden sword*

OUTPUT
mercy on (in game command)& retaliate none (in game command)

But I don't know what character would represent & for it to work.
Australia Forum Administrator #1
Can you show what you tried?

Template:copying
For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.



Quote:

But I don't know what character would represent & for it to work.


I don't understand that. Surely the "&" character represents "&"? Can you elaborate?
#2
Nick,

In the SEND I put:

retaliate none&retaliate none&control body

I also tried:

retaliate none,retaliate none,control body

So I'm trying to get a trigger to put in multiple send/outputs and I don't know what symbol represents & so that I can do that.
Amended on Sun 28 Aug 2016 04:22 AM by Blakat
Australia Forum Administrator #3
If you want those commands sent on separate lines, just put them on separate lines, eg.


retaliate none
retaliate none
control body


I still don't really understand the question.
#4
Nick Gammon said:

If you want those commands sent on separate lines, just put them on separate lines, eg.


retaliate none
retaliate none
control body


I still don\'t really understand the question.


I'm trying to setup triggers that output/send multiple commands.
Australia Forum Administrator #5
What was wrong with my suggestion then?
#6
I'm confused, what was your suggestion?

When I have the trigger output/send set as:

command&command&command

It doesn't work. How do I set a trigger that outputs multiple sends on a trigger?

If I set up 3 different triggers it doesn't work either, it only does one of them.

Example:

TRIGGER 1: A stick is dropped.

AUTO SEND: Pick up stick.

TRIGGER 2: A stick is dropped.

AUTO SEND: Smile

TRIGGER 3: A stick is dropped.

AUTO SEND: Laugh

-- I want to pick up a stick, smile and laugh in the game when a stick is dropped. I'm trying to make 1 trigger, output several different send commands. How do I do that?
Australia Forum Administrator #7
Blakat said:

I'm confused, what was your suggestion?


The trigger "send" box can hold multiple lines of text. What is stopping you putting multiple commands in it? One per line?
#8
That's it!

I can do multiple commands on one trigger by just putting each command on a new line! HAZZA! Thanks!