open [main] var Players "" Count "" GateNumber 10 GateHandle0 "" GateHandle1 "" GateHandle2 "" GateHandle3 "" GateHandle4 "" GateHandle5 "" GateHandle6 "" GateHandle7 "" GateHandle8 "" GateHandle9 "" MobIndex0 "Slime" MobIndex1 "MushRoom" MobIndex2 "Imp" MobIndex3 "Crab" MobIndex4 "Honeying" MobIndex5 "HungryWolf" MobIndex6 "Phino" MobIndex7 "PhinoFlie" MobIndex8 "Ratman" MobIndex9 "Boar" InterruptBlock "" InterruptArg "". Count = 0. while Count < GateNumber open mobregen #("GateHandle" % Count) "MINE1" 0 0 0 10000 "Normal". ; °ÔÀÌÆ® ´ë½Å ±¤¼® print #("GateHandle" % Count). Count = Count + 1. close ; Ç÷¹ÀÌ¾î ·Î±ä ±â´Ù¸² waitlogin Players. if Players == 0 ; ÀÏÁ¤½Ã°£ Áö³ªµµ·Ï ·Î±ä ¾ÈÇÔ then open call "QuestFail". close interruptclear all. interruptset Sec "" 99999 10 "Summon". ; 10Ãʸ¶´Ù Çѹø¾¿ ¹®¿¡¼­ ¸÷ ¼Òȯ Count = 0. while Count < GateNumber open interruptset DeadHandle "" 1 #("GateHandle" % Count) "GateBreak" % Count. Count = Count + 1. close infinite open waitinterrupt InterruptBlock "InterruptArg". call InterruptBlock. close close open [GateBreak0] GateHandle0 = "". close open [GateBreak1] GateHandle1 = "". close open [GateBreak2] GateHandle2 = "". close open [GateBreak3] GateHandle3 = "". close open [GateBreak4] GateHandle4 = "". close open [GateBreak5] GateHandle5 = "". close open [GateBreak6] GateHandle6 = "". close open [GateBreak7] GateHandle7 = "". close open [GateBreak8] GateHandle8 = "". close open [GateBreak9] GateHandle9 = "". close open [Summon] ; ÀÏÁ¤½Ã°£¸¶´Ù °ÔÀÌÆ®¿¡¼­ ¸÷ ¼Òȯ Count = 0. while Count < GateNumber open if #("GateHandle" % Count) =!= "" then open summonmob #("GateHandle" % Count) #("MobIndex" % Count) 1. close Count = Count + 1. close close