Is it okay if I changed it to be backwards by comment? I made it work only for events with comment "AutoPush" instead of "Immune_AutoPush" since I have way more immune events. I kept it so that it would check the first comment too just for performance.
Also, is anyone else getting random errors like "cannot read property 'list' from undefined"? I've seen the same event work, then throw the error. I think it's an rpg maker bug and not the plugin because I've tried checking the following and it still breaks:
if(this == 'undefined')
if(this.page() == 'undefined')
if(this.list() == 'undefined')
I notice now that the error is thrown inside rpg maker framework code so I'm not sure how to get around it.
Also, is anyone else getting random errors like "cannot read property 'list' from undefined"? I've seen the same event work, then throw the error. I think it's an rpg maker bug and not the plugin because I've tried checking the following and it still breaks:
if(this == 'undefined')
if(this.page() == 'undefined')
if(this.list() == 'undefined')
I notice now that the error is thrown inside rpg maker framework code so I'm not sure how to get around it.