|
jasonjacob Newbie
Joined: 07 May 2019 Posts: 2
|
Posted: Fri May 10, 2019 12:40 pm
Capturing randomness!!! |
PostPosted: Mon Apr 16, 2018 7:35 pm
Capturing randomness
I never did get this fixed but i have a similar issue but a bit more complicated only due to the randomness of what is missing and what is showing.
I'll put a bit of it up here:https://discord.software/ FetLife iTunes
Code:
O:10 PE:128 HS:116
I tried this:
Code:
[~[%s(*)%s~]~]
which will capture, but for the life of me i can't get a working script for the random portions of this.
any ideas would be appreciated, thanks |
|
Last edited by jasonjacob on Fri May 10, 2019 7:40 pm; edited 2 times in total |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Fri May 10, 2019 2:41 pm |
* simply captured everything, it is very greedy, you need to make use of the other pattern matching symbols, there is a link to them all in:
#HELP #TRIGGER
#TR {O:(%d) PE:(%d) HS:(%d)} {
o=%1
pe=%2
hs=%3
}
That will capture all the relevant data, and store it in the appropriately named variables. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|
|
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
|
|