|
Toshiki Beginner
Joined: 20 Nov 2004 Posts: 14
|
Posted: Mon Dec 11, 2006 9:05 am
Need help with simple trigger |
| Power|| Boom|
This is displayed at top of screen
|Power ||Boom |
This is displayed at bottom of screen
Please note the 2 words change frequently. How do i get zMud to ignore the spaces and put these in 2 seperate variables? I need the words without the spaces |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Mon Dec 11, 2006 8:55 pm |
Code: |
| Power|| Boom|
This is displayed at top of screen
|Power ||Boom |
|
#TRIGGER (^~|%s(%x)~|~|%s(%x)~|$} {#VAR V_Word1top %1;#VAR V_Word2top %2;#ECHO Top of screen capture or start or whatever}
#TRIGGER (^~|(%x)%s~|~|(%x)%s~|$} {#VAR V_Word1bot %1;#VAR V_Word2bot %2;#ECHO Bottom of screen capture or start or whatever}
I'm assuming this is showing some sort of timed effect as the spaces decrease or similar.
Maybe pattern match with fixed with to avoid spoofing.
&nn matches exactly nn characters (fixed width pattern) |
|
|
|
|
|