#name "Ñóììîí"
#ps2_keyboard
$V=DIALOGBOX("Ïåðâîìó ÷ëåíó ãðóïïû áåðñà(Ïðåðâàòü), ìàãà(Ïîâòîð) èëè ñòðàæà(Ïðîïóñòèòü)?", 2, 2)
SWITCH($V)
CASE(3)
$ARR[0]=1
CASE(4)
$ARR[0]=2
CASE(5)
$ARR[0]=3
END_SWITCH
$V=DIALOGBOX("Âòîðîìó ÷ëåíó ãðóïïû áåðñà(Ïðåðâàòü), ìàãà(Ïîâòîð) èëè ñòðàæà(Ïðîïóñòèòü)?", 2, 2)
SWITCH($V)
CASE(3)
$ARR[1]=1
CASE(4)
$ARR[1]=2
CASE(5)
$ARR[1]=3
END_SWITCH
$V=DIALOGBOX("Òðåòüåìó ÷ëåíó ãðóïïû áåðñà(Ïðåðâàòü), ìàãà(Ïîâòîð) èëè ñòðàæà(Ïðîïóñòèòü)?", 2, 2)
SWITCH($V)
CASE(3)
$ARR[2]=1
CASE(4)
$ARR[2]=2
CASE(5)
$ARR[2]=3
END_SWITCH
$V=DIALOGBOX("×åòâ¸ðòîìó ÷ëåíó ãðóïïû áåðñà(Ïðåðâàòü), ìàãà(Ïîâòîð) èëè ñòðàæà(Ïðîïóñòèòü)?", 2, 2)
SWITCH($V)
CASE(3)
$ARR[3]=1
CASE(4)
$ARR[3]=2
CASE(5)
$ARR[3]=3
END_SWITCH
$V=DIALOGBOX("Ïÿòîìó ÷ëåíó ãðóïïû áåðñà(Ïðåðâàòü), ìàãà(Ïîâòîð) èëè ñòðàæà(Ïðîïóñòèòü)?", 2, 2)
SWITCH($V)
CASE(3)
$ARR[4]=1
CASE(4)
$ARR[4]=2
CASE(5)
$ARR[4]=3
END_SWITCH
$V=DIALOGBOX("Øåñòîìó ÷ëåíó ãðóïïû áåðñà(Ïðåðâàòü), ìàãà(Ïîâòîð) èëè ñòðàæà(Ïðîïóñòèòü)?", 2, 2)
SWITCH($V)
CASE(3)
$ARR[5]=1
CASE(4)
$ARR[5]=2
CASE(5)
$ARR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