Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Chaining trigger output

Chaining trigger output

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Blakat   (5 posts)  Bio
Date Sat 27 Aug 2016 05:32 PM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 27 Aug 2016 09:34 PM (UTC)
Message
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?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Blakat   (5 posts)  Bio
Date Reply #2 on Sat 27 Aug 2016 09:54 PM (UTC)

Amended on Sun 28 Aug 2016 04:22 AM (UTC) by Blakat

Message
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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 28 Aug 2016 03:14 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Blakat   (5 posts)  Bio
Date Reply #4 on Sun 28 Aug 2016 04:23 AM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #5 on Sun 28 Aug 2016 04:34 AM (UTC)
Message
What was wrong with my suggestion then?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Blakat   (5 posts)  Bio
Date Reply #6 on Sun 28 Aug 2016 06:26 PM (UTC)
Message
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?
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #7 on Sun 28 Aug 2016 08:38 PM (UTC)
Message
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?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Blakat   (5 posts)  Bio
Date Reply #8 on Sun 28 Aug 2016 08:52 PM (UTC)
Message
That's it!

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

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


21,483 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.