and as soon as I color something else after that...
the last exit turns that same color (instead of staying in ExitColor)
I color all my exits like this:
Code: Select all
selectString( matches[1], 1 )
fg( ExitColor )
deselect()
In the manual there is a note that deselect is not yet implemented...ERROR:Lua error:[string "function Trigger15()..."]:4: attempt to call global 'deselect' (a nil value)
is this why it did not work?
My workaround:
I made the following script:
Code: Select all
function deselect()
selectString("",1)
end
Works as intended now!
Hope that helps some of you.
Eraldo