View Single Post
Old 09-26-2021, 09:04 AM   #725
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,152
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thanks. It worked. I also added a second condition so it didn't clear when switching away from Cleanup:

Code:
program:
    vl = globals(_event_args) != 'Cleanup' && view_manager_last_view() != 'Cleanup'
However, the last_view part isn't quite working. Any ideas?

EDIT: I think the && should be an or. Need to figure that out.

EDIT:

Code:
program:
    vl = globals(_event_args) != 'Cleanup' || view_manager_last_view() != 'Cleanup'
= 1
clears it for everything. I'm not sure what I did wrong.

Last edited by ownedbycats; 09-26-2021 at 09:22 AM.
ownedbycats is offline   Reply With Quote