This command will return a Dword of the sleep state of the specified world. If the world is set to sleep, the command returns a 1, otherwise 0 is returned. The parameter should be the unique integer handle that was returned when the world was created.
Syntax
Return as Dword = b2GetWorldSleep(ID as Integer)