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
smartturkeycj@gmail.com
Beginner


Joined: 24 Dec 2010
Posts: 16

PostPosted: Fri Dec 24, 2010 9:14 am   

#Capture
 
Hey guys, I seem to be having issues with the #Capture function. When the trigger fires, the new window opens, but CMUD freezes up, and it doesn't allow me to interact with CMUD at all, but the everything still runs.

Game: Achaea

Trigger Pattern: ~((%*)~): (%w) {say|says}, "(%*)"

Example Pattern: (Channel): Dude says, "Thanks for the help guys, appreciate it."

Script: $chan = %trim(%1)
#capture $chan
Reply with quote
Tech
GURU


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

PostPosted: Fri Dec 24, 2010 3:30 pm   
 
Make sure the trigger for capture is only in your main window. Sounds like your running into an infinite loop because it's in your child windows as well.
_________________
Asati di tempari!
Reply with quote
smartturkeycj@gmail.com
Beginner


Joined: 24 Dec 2010
Posts: 16

PostPosted: Fri Dec 24, 2010 3:32 pm   
 
Tech wrote:
Make sure the trigger for capture is only in your main window. Sounds like your running into an infinite loop because it's in your child windows as well.


How do I ensure that?
Reply with quote
smartturkeycj@gmail.com
Beginner


Joined: 24 Dec 2010
Posts: 16

PostPosted: Fri Dec 24, 2010 4:56 pm   
 
I tried doing #if (%window(Achaea)) {#cap $chan} it works great for one window! But after that....POOF :*(
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Sat Dec 25, 2010 4:42 pm   
 
Make sure the trigger is defined within your main window, instead of in a module
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