if (currentroom = 1) { playvideo("Room_1_exit", )}if (currentroom = 2) { playvideo("Room_2_exit", )}if (currentroom = 3) { playvideo("Room_3_exit", )}
{if {}else if {}else if {}}