Good catch, Ched80. I forgot about the $PL variable.
I have this script which gives the player one additional life when they are in the trigger zone:
;Artificial Intelligence Script
;Header
desc = Plr In Zone pickup bonus life
;Triggers
:state=0:state=1
:state=1:dimvar=$PL,state=2
:state=2,plrwithinzone=1:addvar=$PL 1,state=3
;End of Script
So it does work in v1.18 and v1.19 since the variable exists in those engines. Anyone running v1.17 and lower will not be able to utilize this idea, unless they are running a modded version with the variable system in it.
There you go Ross. An easy solution for you now.
Twitter: @NFoxMedia