|
chris123zugg Apprentice
Joined: 23 Aug 2013 Posts: 175
|
Posted: Thu Jun 21, 2018 8:23 pm
Trigger priority |
I was curious about re-ordering trigger priority and if it actually matters that much in the grand scheme of things as far as in the miliseconds it all fires in under 1 second.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4671 Location: Pensacola, FL, USA
|
Posted: Fri Jun 22, 2018 2:00 am |
Trigger priority does matter in select situations.
Especially if the stop further processing option is checked.
Unless two triggers are firing off the same line from the MUD, and it is causing you issues, I wouldn't worry about it. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
chris123zugg Apprentice
Joined: 23 Aug 2013 Posts: 175
|
Posted: Fri Jun 22, 2018 5:13 pm |
ok, i appreciate the help! i don't have many active function triggers and those are already in the top 100 as far as priority.
I was just making sure that having 100k+ triggers would affect the system overall and make it less functional if i didnt try and make them all rated from 1 as most important and to last importance.
I think i've asked this before, but is there a way to make it automatically switch all priorities? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4671 Location: Pensacola, FL, USA
|
Posted: Fri Jun 22, 2018 5:35 pm |
I would be impressed to see any setup with that many triggers.
Theoretically, no, it should not matter how many triggers you have.
I believe priority can only be set from the GUI, unless that setting has an ID.
#HELP %priority |
|
_________________ Discord: Shalimarwildcat |
|
|
|
chris123zugg Apprentice
Joined: 23 Aug 2013 Posts: 175
|
Posted: Sat Jun 23, 2018 12:03 pm |
sorry i mistatedm, i have over 3000 triggers, 90% of which are gags, the trigger priority assigns multiples of 10 or 100 i cant remmeber which actually lol. so the trigger priority is up to 140k
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4671 Location: Pensacola, FL, USA
|
Posted: Sat Jun 23, 2018 1:37 pm |
Well, you could do the stringlist trick with your gags too yanno.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
chris123zugg Apprentice
Joined: 23 Aug 2013 Posts: 175
|
Posted: Sat Jun 23, 2018 2:21 pm |
hrrrm, i'm a bit of a noob to comprehend what that would entail :P
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4671 Location: Pensacola, FL, USA
|
Posted: Sun Jun 24, 2018 12:54 am |
Mainly just putting all the static patterns (those without wildcards) into a stringList.
Then all you need is:
#TR {{@gagList}} {#GAG}
Along the same lines... though not necessarily for this example:
You can also go the capture to another window and gag method.
#EVENT onCombat {#CAPTURE Combat;#GAG}
Then instead of putting #GAG in the trigger, you could use:
#RAISE onCombat
#EVENTs are a lot like #ALIASes, only without a potential command sent to the game if the setting is not defined.
This could reduce a lot of clutter in the main window, while still allowing you to keep track of certain activites. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|