multiline capture

Post Reply
Vonlocof
Posts: 8
Joined: Fri Feb 21, 2020 12:08 am

multiline capture

Post by Vonlocof »

Hi,
I am new to the whole making scripts and such.
I am looking to make a multiline capture that fires from when I use my "score" command.

e.g.
=---=---=---=---=---=---=---=---=---=---=
Level : 19+4 (or 19+4.34 and 16,566,737 exp to level)
Class : Cleric (Crusader)
Race : Sleen
Gender : Male
Gold coins : 0 (8,339,689 in bank)
House stash : 1,468,622 coins stashed
War Tokens : 30,126
Experience : 133,433,263 (10,864,672 exp. to spend)
PK Ranking : Pacifist
PK Protection : Level 4 (Unprotected)
Jihad Standing : Zealot
Wimpy At : 50 hit points
HP/SP : 650(650) / 268(600)
Age : 30 years old
Jihad Faction : Everen
Created On : Fri Sep 28 17:56:37 2001
Gametime : 36 days 6 hours 7 minutes 6 seconds.
Intoxication : You are sober.
Resurrections : 419
=---=---=---=---=---=---=---=---=---=---=

I would like to capture everything between the "=---=---=---=---=---=---=---=---=---=---=" lines (different characters may have different field but all goes between the "=---=---=---=---=---=---=---=---=---=---=" no matter the character.

I know how to capture each of them but not sure how to put it all into one trigger.

in the end I just want to use those captures to echo to a label so it can be all strings, no math needed on the numbers.

Regards.

Post Reply