Merge checkhomcall Script Command from rAthena

I need  to use the checkhomcall command, 
but I can't find this command from Hercules !
So  I merged it from rAthena.