Currently, poryscript will change the end to return when it's the very last command in a script. I don't believe this is an issue if you use end inside an if block, or other kind of block. Poryscript should always preserve and end commands, since those are functionally different than return, in that they completely stop the script from executing.
Currently, poryscript will change the
end
toreturn
when it's the very last command in a script. I don't believe this is an issue if you useend
inside anif
block, or other kind of block. Poryscript should always preserve andend
commands, since those are functionally different thanreturn
, in that they completely stop the script from executing.