|
Kevadrin Newbie
Joined: 29 Jul 2011 Posts: 8
|
Posted: Fri Jul 29, 2011 3:35 pm
sent to mud error? |
I am having issues with my cMUD pro 3.34.
I discovered it when trying to do a (I thought) simple trigger.
whenever I enter anything into the command line or have a trigger send a command to the MUD, there's a bunch of highlighted stuff at the end of my input.
This is a problem when I use
or even #ECHO. The trigger itself is firing off, but when I had it
it sends extra things at the end of the line.
I'm at a loss on how to fix this.
Thank you for any help
Kev
*Note: Quotes added to separate commands |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Fri Jul 29, 2011 3:55 pm |
It would help if you could post the trigger in question here.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
orphean Apprentice
Joined: 21 Oct 2008 Posts: 147 Location: Olympia, WA
|
Posted: Fri Jul 29, 2011 4:01 pm |
If you're using %1 you might be capturing some ansi color codes but not the ansi resets the mud is sending. Try wrapping what you're sending with %stripansi() and see if that helps.
|
|
|
|
Kevadrin Newbie
Joined: 29 Jul 2011 Posts: 8
|
Posted: Fri Jul 29, 2011 5:42 pm |
The trigger is:
Quote: |
You have lost all sense of {%w} and you cease your pursuit. |
the script is:
Quote: |
#ECHO Fire;hunt %1 |
|
|
|
|
Araadan Wanderer
Joined: 07 Jun 2009 Posts: 65
|
Posted: Fri Jul 29, 2011 5:51 pm |
Whenever I have a problem that I'm using #send
|
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Fri Jul 29, 2011 6:02 pm |
You want (%w) in your pattern, not {%w}. If that doesn't fix it, what exactly is the extra things it's sending?
|
|
|
|
Kevadrin Newbie
Joined: 29 Jul 2011 Posts: 8
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Fri Jul 29, 2011 8:15 pm |
Part of me wants to say you have an #ONIMPUT trigger, or a trigger with #SAYADD in it.
You may have to go into triggers and start disabling/enabling triggers/classes until you figure out where the problem lies |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Fri Jul 29, 2011 8:24 pm |
Can you post it somewhere that doesn't require a facebook account to view it?
|
|
|
|
|
|