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

Gammon Software Solutions forum

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

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  trigger sends command twice

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: trigger sends command twice
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Jedhi   (31 posts)  [Biography] bio
Date Sat 10 Mar 2012 08:36 AM (UTC)  quote  ]
Message
thanx fiendish!
[Go to top] top

Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Sat 10 Mar 2012 01:36 AM (UTC)  quote  ]

Amended on Sat 10 Mar 2012 02:17 AM (UTC) by Fiendish

Message
Change your trigger pattern to

match="^{tell}(.+)tells you \'(.+)\'$"


This is an unfortunate, though in this case solvable, side effect of only having partial line substitution capability in mushclient and the apparent inability to have keep_evaluating="n" halt extra-plugin triggering (has this always been the case? I can't remember).

The very short version of a rather long story here is that the aard_chat_echo.xml plugin triggers on tagged tells and re-displays them sans tags in a way that causes coarsely defined triggers to fire again. This is unintentional, but not easily solved given the above.

For history see:
http://mushclient.com/forum/bbshowpost.php?id=11073&page=1
and uh...probably this...
http://mushclient.com/forum/bbshowpost.php?bbsubject_id=6356

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 09 Mar 2012 09:02 PM (UTC)  quote  ]
Message
Quote:

TRACE: Executing trigger script "chats"


What script "chats"?

Quote:

...and this is done twice.


What is done twice? Can you post the whole thing please?

Are you copying/pasting? Or retyping?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Jedhi   (31 posts)  [Biography] bio
Date Fri 09 Mar 2012 08:14 AM (UTC)  quote  ]
Message
don't have 2 triggers. with trace:

TRACE: Matched trigger "^{tell}(?<msg>.*)"
TRACE: Executing trigger script "chats"
You tell Melviant 'I think i'm AFK at the moment.'

and this is done twice. maybe it has something to do with aardwolf client mod?
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 09 Mar 2012 02:09 AM (UTC)  quote  ]
Message
That trigger won't reply twice. Someone else had a similar issue recently and it turned out they had two such triggers. So each one replies.

Try turning on Game menu -> Trace, and then watch what happens. That tells you about each matching trigger.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Jedhi   (31 posts)  [Biography] bio
Date Thu 08 Mar 2012 10:32 PM (UTC)  quote  ]

Amended on Thu 08 Mar 2012 10:39 PM (UTC) by Jedhi

Message
trigger: http://dl.dropbox.com/u/60672885/trigger_bug.jpg

mud aardwolf. on the tech channel i recieved no help. on player only told, that he has the same problem and hasn't found a solution to fix it

<triggers>
<trigger
lines_to_match="3"
match="^(.+)tells you \'(.+)\'$"
omit_from_log="y"
regexp="y"
sequence="100"
>
<send>reply I think i'm AFK at the moment.</send>
</trigger>
</triggers>
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Thu 08 Mar 2012 10:26 PM (UTC)  quote  ]
Message
Show please?

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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Jedhi   (31 posts)  [Biography] bio
Date Thu 08 Mar 2012 09:39 PM (UTC)  quote  ]
Message
hi,

i'm trying to create a trigger when someone sends me a tell, i reply to it automessage. somehow it sends my reply twice. option is set to World.

any thoughts?
[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.


1,047 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]