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
unrealtor
Beginner


Joined: 23 May 2020
Posts: 19

PostPosted: Wed Sep 01, 2021 5:42 pm   

Triggers Double Firing When Line Captured
 
I am having a double triggering effect when I capture a line to a window. Is there a way to set the window as no-trigger? Following is the setup I have and some explanation.

Settings Example:
- Char_Session > Trigger > "You attack %1" > #cap combat
- Shared_Package > Toggle_Controlled_Folder (is enabled) > Trigger > "You attack %1" > cast spell

Above shows that my main char session package is capturing all "You attack %1" to a "combat" window. However, I have a shared package linked to all my sessions, with a toggle button that enables/disables a class folder, that contains a trigger for "You attack %1"; but this one casts a spell. The problem is that the latter trigger fires off twice, I am pretty sure because when it's sent to the combat window it triggers a second time.

Is there a way around this? I'd rather not change the way the shared package is setup and have to dupe the functionality into each session.

Thanks,
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Wed Sep 01, 2021 6:43 pm   
 
Sounds like the capture trigger is in a shared package.
The issue is, your capture window might be getting a copy of it too!

Open the settings editor
Select your capture window
Click over to the advanced tab
Uncheck the shared package
_________________
Discord: Shalimarwildcat
Reply with quote
unrealtor
Beginner


Joined: 23 May 2020
Posts: 19

PostPosted: Wed Sep 01, 2021 8:19 pm   
 
Totally overlooked that, thanks!
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