![](templates/Classic/images/spacer.gif) |
softballs Newbie
Joined: 15 Sep 2015 Posts: 9
|
Posted: Thu Sep 03, 2020 1:18 pm
Multiline capture and LUA code |
Hi,
I want a trigger that captures the next 6 lines which I can do with the #COND and LoopParams=6
But if I wanted to parse those 6 lines (after they are all captured) with LUA code how would I achieve that? |
|
|
![](templates/Classic/images/spacer.gif) |
shalimar GURU
![](images/avatars/114658559147aeed8fee539.gif)
Joined: 04 Aug 2002 Posts: 4717 Location: Pensacola, FL, USA
|
Posted: Thu Sep 03, 2020 8:19 pm |
#LUA {lua stuff}
OR
Have separate trigger(s) in the child window where the script language is set to lua. |
|
_________________ Discord: Shalimarwildcat |
|
|
![](templates/Classic/images/spacer.gif) |
softballs Newbie
Joined: 15 Sep 2015 Posts: 9
|
Posted: Sat Sep 05, 2020 8:02 pm |
shalimar wrote: |
#LUA {lua stuff}
OR
Have separate trigger(s) in the child window where the script language is set to lua. |
My trigger has one trigger state which does:
#ADDITEM captcha_rows %line
Can I instead of that use LUA and add it to a lua variable? How would I access %line with lua code?
I would like to do table.insert(lua_table, %line) but that does not seem to work |
|
|
![](templates/Classic/images/spacer.gif) |
|
|