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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Solaras
Wanderer


Joined: 11 Mar 2002
Posts: 93

PostPosted: Sun Aug 26, 2007 4:21 am   

[2.01] #sayprompt
 
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<cmud>
  <trigger priority="10" newline="false" prompt="true" enabled="true">
    <pattern>%dh, %dm</pattern>
    <value>#sayprompt prompt</value>
  </trigger>
</cmud>


results in the infinite loop message box coming up asking to disable the trigger and the trigger giving this output on the prompt.

Code:

4118h, 3160m exdb-promptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptprompt
promptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptprompt
promptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptprompt
promptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptprompt
promptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptprompt
promptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptpromptprompt
promptpromptpromptpromptpromptprompt


#say works fine on prompt, only #sayprompt seems to do this.
Reply with quote
Zugg
MASTER


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

PostPosted: Sun Aug 26, 2007 6:21 am   
 
Yep, I reproduced this. Each time you use #SAYPROMPT, CMUD is re-processing the line as a prompt, and it still matches the original pattern, so it triggers again. You might try turning off the "Trigger on Trigger" option and see if that helps.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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