Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Sun Dec 12, 2010 9:50 am   

[3.32] #echop and #sayp don't cause trigger on prompt triggers to fire
 
Title says it all. Not a huge issue since #showp does work. I figured I would pass this along anyway so they could either be fixed, or the documentation could be updated to show they no longer work. Copy the following script into an untitled session and use the alias named test to test.

Code:
<window name="untitled">
  <uid>{189D4896-7EAC-4B2B-A43D-3D30FD973F19}</uid>
  <packages>untitled</packages>
  <trigger priority="10" newline="false" prompt="true" id="1">
    <pattern>^Prompt TEST</pattern>
    <value>#show {%ansi(bold,blink,red)The trigger just fired}</value>
  </trigger>
  <alias name="test" id="2">
    <value>#echo {Trigger on prompt test begining...}
#show {%ansi(bright,green)Testing #echop}
#echop {Prompt TEST}
#wait 4000
#show {%crlf}

#show {%ansi(bright,green)Testing #sayp}
#sayp {Prompt TEST}
#wait 4000
#show {%crlf}

#show {%ansi(bright,green)Testing #showp}
#showp {Prompt TEST}
#wait 4000
#show {%crlf}</value>
  </alias>
</window>
_________________
Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Dec 12, 2010 5:14 pm   
 
Confirmed.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Dec 13, 2010 6:27 pm   
 
Confirmed and added to bug list. The problem is when you have the "Use EOR/GA" option turned on in the Session preferences. When this is enabled, CMUD requires an IAC GA or IAC EOR sequence to fire the Prompt triggers. The #SHOWP, #SAYP, etc do not add that sequence. So a temporary solution is to add those characters to your line, or turn off the Use EOR/GA option. But I'll try to fix this in the next update.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net