I want to make a lua script that omits lines when it matches an expression.
To give context (Aardwolf), when i type practice I get output that looks like this:
So I was thinking of an expression like:
Where * is the Sn number, and then have an if statement that checks if the variable matches a Sn number i want ommitted, and then omit the line if true.
Hopefully what I said makes sense. I'm not sure how I would do this in lua, or if there is an easier way (or if someone already has a plugin like this).
To give context (Aardwolf), when i type practice I get output that looks like this:
Skill/Spell name Sn Prac Bonus Level
------------------------- --- ---- ----- -----
Agitation 98 1% 15
Air dart 465 1% 5
Ballistic attack 101 1% 1
So I was thinking of an expression like:
* 1%
Where * is the Sn number, and then have an if statement that checks if the variable matches a Sn number i want ommitted, and then omit the line if true.
Hopefully what I said makes sense. I'm not sure how I would do this in lua, or if there is an easier way (or if someone already has a plugin like this).