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
hogarius
Adept


Joined: 29 Jan 2003
Posts: 221
Location: islands.genesismuds.org

PostPosted: Sun Nov 02, 2008 3:48 am   

[2.37] Text captured to other windows take cursor focus away from command line
 
I have child windows set up to capture radio transmissions and connection/disconnection messages from my MUD (Modus Operandi). I do not have command lines in either of these child windows. In CMUD 2.37, when these triggers fire, the cursor goes out of the command line in the main MUD window, and I have to click on either the main window or the main command line to put the cursor back, so that I can send commands to the mud.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Nov 02, 2008 4:19 am   
 
Give us the code for these triggers so we can test ourselves. XML works best.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
hogarius
Adept


Joined: 29 Jan 2003
Posts: 221
Location: islands.genesismuds.org

PostPosted: Sun Nov 02, 2008 4:43 am   
 
Code:
<trigger priority="974" id="5">
  <pattern>^PBR - </pattern>
  <value>#cap Communicator;#gagspace</value>
</trigger>

<trigger priority="970" id="17">
  <pattern>^ ~* &ADname has disconnected.$</pattern>
  <value>#gag;ADtext=@ADname" disconnected "%time(hh:nn)".";#win Arrivals @ADtext</value>
</trigger>

<trigger priority="971" id="13">
  <pattern>^ ~* &ADname joins the investigation.$</pattern>
  <value>#gag;ADtext=@ADname" arrived "%time(hh:nn)".";#win Arrivals @ADtext</value>
</trigger>

<trigger priority="972" id="16">
  <pattern>^ ~* &ADname returns home from a hard day of investigations.$</pattern>
  <value>#gag;ADtext=@ADname" left "%time(hh:nn)".";#win Arrivals @ADtext</value>
</trigger>



I also have triggers in the two child windows to color the text for these captures. Do you need those also?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Nov 02, 2008 1:03 pm   
 
There's a problem with this XML, it won't import. I suspect it has to do with your & characters, which should be &amp;. How did you get this XML?
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
hogarius
Adept


Joined: 29 Jan 2003
Posts: 221
Location: islands.genesismuds.org

PostPosted: Sun Nov 02, 2008 3:13 pm   
 
I pulled up each trigger, clicked on the XML tab, highlighted the entire trigger, copied it, and pasted it into the input box on the Zuggsoft site. I did change the four "&amp;"s that appeared on the XML tabs and also on the website to just "&" on the website, so that's probably why you can't import them. I can repost my original XML triggers a little later today, if I need to; let me know.
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