Hello, i still have problems with reading my prompt, i am uber noob in scripting so i don't have any clue as how to fix this.
The problem is the following:
most of the time my prompt looks like this: 3888h, 2714m ex-
When going into combat its like this: 3888h, 2714m cexkdb-
My reg. exp. trigger for this prompt is the following:
^(\d+)h\, (\d+)m.*? ([cexkdb@]*)-$
Now, how do I script the following;
In both cases for my prompt (normal and combat prompt) i want to check that character string (ex or cexkdb) if it misses e, x or both.
So it would be something like (in plain text);
if ( Wildcard(3) = "x" or "cekdb" ) then do something..
if ( Wildcard(3) = "e" or "cxkdb" ) then do something..
I also want to check if both are missing in this wildcard string.
My main question is, how can i script this in VBscript?
I know this might be asked a thousand times already, but please explain it once more for me, really appreciated!
Thanks already!
The problem is the following:
most of the time my prompt looks like this: 3888h, 2714m ex-
When going into combat its like this: 3888h, 2714m cexkdb-
My reg. exp. trigger for this prompt is the following:
^(\d+)h\, (\d+)m.*? ([cexkdb@]*)-$
Now, how do I script the following;
In both cases for my prompt (normal and combat prompt) i want to check that character string (ex or cexkdb) if it misses e, x or both.
So it would be something like (in plain text);
if ( Wildcard(3) = "x" or "cekdb" ) then do something..
if ( Wildcard(3) = "e" or "cxkdb" ) then do something..
I also want to check if both are missing in this wildcard string.
My main question is, how can i script this in VBscript?
I know this might be asked a thousand times already, but please explain it once more for me, really appreciated!
Thanks already!