[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Programming
. -> [Folder]  General
. . -> [Subject]  Help with a trigger
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Help with a trigger

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


Posted by Derjin   (1 post)  [Biography] bio
Date Tue 01 May 2012 10:04 PM (UTC)
Message
Im trying to make a trigger, so that when someone enters the areas I am currently in, I will do a certain emote, how would I go about making this?

I've tried
if
* arrives from the *
then
emote dance
--which just made me repeat the emote every time anyone did anything.

then tried
If
%1 arrives from %2
then
emote jump around in an odd fashion


neither worked.
little help please?
[Go to top] top

Posted by Worstje   Netherlands  (899 posts)  [Biography] bio
Date Reply #1 on Tue 01 May 2012 10:12 PM (UTC)
Message
The way you type that makes me wonder what you did exactly. It seems like you might be mixing it all together in some sort of script-alike way.

The '* arrives from the *' part should go in the Trigger: box. What you do as a response should go in the Send box.
[Go to top] top

Posted by Bottomfeeder   (42 posts)  [Biography] bio
Date Reply #2 on Fri 22 Jun 2012 09:36 PM (UTC)

Amended on Fri 22 Jun 2012 09:38 PM (UTC) by Bottomfeeder

Message
<trigger
enabled="y"
match="* arrives from"
send_to="10"
sequence="100"
>
<send>emote dance</send>
</trigger>
[Go to top] 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.


3,386 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]