;;Ҫɾ

[@Main_Poll]
{
#SAY
Welcome to the Vital Elementz Poll system where users\
get to decide what goes on.\\
<What do you want us to do for tonights event?/@RecentPoll>\
<What do you want us to work on after guild palace?/@GuildPalacePoll>\

[@RecentPoll]
#IF
CheckNameList VotedInPoll.txt
#ACT
GoTo @Results
#ELSEACT
GoTo @Vote

;-----------------------------------------------------------------------

[@Results]
#ACT
Loadvalue A1 "QuestDiary\Poll.txt" [Poll] [Option1]
Loadvalue A2 "QuestDiary\Poll.txt" [Poll] [Option2]
Loadvalue A3 "QuestDiary\Poll.txt" [Poll] [Option3]
Loadvalue A4 "QuestDiary\Poll.txt" [Poll] [Option4]
Loadvalue A5 "QuestDiary\Poll.txt" [Poll] [Option5]
#SAY
{FCOLOR/1}Note: You have already voted in this poll{FCOLOR/12}\\
Question:\
What do you want us to do for tonights event?\\
{FCOLOR/15}Option 1:{FCOLOR/10} Start PVP Event {FCOLOR/12}-{FCOLOR/15} <$OUTPUT(A1)>\
Option 2:{FCOLOR/10} DMW Black Palace Attack {FCOLOR/12}-{FCOLOR/15} <$OUTPUT(A2)>\
Option 3:{FCOLOR/10} DMW Anceint Cave Attack {FCOLOR/12}-{FCOLOR/15} <$OUTPUT(A3)>\
Option 4:{FCOLOR/10} DMW Magic Ship Attack {FCOLOR/12}-{FCOLOR/15} <$OUTPUT(A4)>\
;Option 5:{FCOLOR/10} Main Quests {FCOLOR/12}-{FCOLOR/15} <$OUTPUT(A5)>\
{FCOLOR/15}Total {FCOLOR/10}Votes: {FCOLOR/15} <$@Total>\\
<Admin Control/@MainADMIN>\\
<Leave/@Exit>\\

[@BuggedWeapon]
#ACT
AddNameList Bichon\BuggedWeapon.txt
#SAY
Thank You...\\
<Back/@Main>

;-----------------------------------------------------------------------

[@Total]
#ACT
mov D1 %A1
mov D2 %A2
mov D3 %A3
mov D4 %A4
mov D5 %A5

INC D1 %D2
INC D1 %D3
INC D1 %D4
;INC D1 %D5
#SAY
<$OUTPUT(D1)>

;-----------------------------------------------------------------------

[@Vote]
#ACT
Loadvalue A1 "QuestDiary\Poll.txt" [Poll] [Option1]
Loadvalue A2 "QuestDiary\Poll.txt" [Poll] [Option2]
Loadvalue A3 "QuestDiary\Poll.txt" [Poll] [Option3]
Loadvalue A4 "QuestDiary\Poll.txt" [Poll] [Option4]
Loadvalue A5 "QuestDiary\Poll.txt" [Poll] [Option5]
#SAY
Question:\
What do you want us to do for tonights event?\\
{FCOLOR/15}Option 1:{FCOLOR/10} Start PVP Event - <Vote/@VoteA1>\
{FCOLOR/15}Option 2:{FCOLOR/10} DMW Black Palace Attack - <Vote/@VoteA2>\
{FCOLOR/15}Option 3:{FCOLOR/10} DMW Anceint Cave Attack - <Vote/@VoteA3>\
{FCOLOR/15}Option 4:{FCOLOR/10} DMW Magic Ship Attack - <Vote/@VoteA4>\
;{FCOLOR/15}Option 5:{FCOLOR/10} Main Quests - <Vote/@VoteA5>\\
<Admin Control/@MainADMIN>\
<Leave/@Exit>

;-----------------------------------------------------------------------

[@VoteA1]
#ACT
mov D2 %A1
mov D3 1
INC D2 %D3
SaveValue "QuestDiary\Poll.txt" Poll [Option1] %D2
AddNameList VotedInPoll.txt
GoTo @Results

;------------------

[@VoteA2]
#ACT
mov D2 %A2
mov D3 1
INC D2 %D3
SaveValue "QuestDiary\Poll.txt" Poll [Option2] %D2
AddNameList VotedInPoll.txt
GoTo @Results

;------------------

[@VoteA3]
#ACT
mov D2 %A3
mov D3 1
INC D2 %D3
SaveValue "QuestDiary\Poll.txt" Poll [Option3] %D2
AddNameList VotedInPoll.txt
GoTo @Results

;------------------

[@VoteA4]
#ACT
mov D2 %A4
mov D3 1
INC D2 %D3
SaveValue "QuestDiary\Poll.txt" Poll [Option4] %D2
AddNameList VotedInPoll.txt
GoTo @Results

;------------------

[@VoteA5]
#ACT
mov D2 %A5
mov D3 1
INC D2 %D3
SaveValue "QuestDiary\Poll.txt" Poll [Option5] %D2
AddNameList VotedInPoll.txt
GoTo @Results

;------------------------------------------------------------------------------------------------------------------------------

[@GuildPalacePoll]
Question:\
What do you want us to work on after guild palace?\\
{FCOLOR/15}Option 1:{FCOLOR/10} Hunger System {FCOLOR/12}-{FCOLOR/15} 7\
Option 2:{FCOLOR/10} More Leveling Areas {FCOLOR/12}-{FCOLOR/15} 37\
Option 3:{FCOLOR/10} More Events {FCOLOR/12}-{FCOLOR/15} 19\
Option 4:{FCOLOR/10} Update Daily Quests And Rewards {FCOLOR/12}-{FCOLOR/15} 25\
Option 5:{FCOLOR/10}Main Quests {FCOLOR/12}-{FCOLOR/15} 16\
{FCOLOR/15}Total {FCOLOR/10}Votes: {FCOLOR/15} 104\\
<Leave/@Exit>\\

;------------------------------------------------------------------------------------------------------------------------------

}
;;Ҫɾ