room_restart();
Returns: N/A
With this function you can restart the current room. Note that the room will not be restarted until the end of the event where the function was called, so any code after this has been called will still run.
if lives < 1 room_restart();
The above code checks to see if the variable "lives" is less than 1 and if it is it will restart the room.