//#include "f_vampire_onrest" void main() { //if(Vampire_On_Rest()) return; //if this returns true then the resting pc was a //vampire and this function has handled them so //return to exit the script. //Your onrest script here! }