;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@Castle_Execution]
{

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_0

[@UserChangeFlag]
#IF
IsGuildMaster

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_1


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_2

[@UserChangeFlag_next]
#ACT
SendCmd "0,169,199,1" ÐÐ»áÆìÖÄ @TestUserFlag


[@MakeGuild]
#IF
HasGuild

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_3

#ACT
break

#IF
!checkgold 1000000

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_4

#ACT
break

#IF
checkitem ÎÖÂêºÅ½Ç 1
checkgold 1000000
#ACT
EnableCmd @@buildguild
break

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_5

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_6

[@@buildguild]
#IF
checkitem ÎÖÂêºÅ½Ç 1
checkgold 1000000
#ACT
take ½ð±Ò 1000000
take ÎÖÂêºÅ½Ç 1
BuildGuild @MakeGuildOK

#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_7

[@MakeGuildOK]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_8

[@MakeGuildOK~]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_9

#ACT
give ÎÖÂêºÅ½Ç 1
give ½ð±Ò 1000000

[@buildguildexp]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_10

[@guildwar]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_11

[@ComfirmGuildWar]
#IF
checkgold 30000
#ACT
EnableCmd @@guildwar

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_12


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_13

[@@GuildWar]
#IF
checkgold 30000
#ACT
Mov A1 %INPUTSTR
#ELSEACT
break
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_14

#IF
Equal A1 %GUILDNAME
#ACT
break

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_15

#ELSEACT
take ½ð±Ò 30000
GuildWar @GuildMakeWarOK

[@GuildMakeWarOK]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_16

[@GuildMakeWarOK~]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_17

#ACT
give ½ð±Ò 30000

[@guildwarexp]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_18

[@guildwar2]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_19

[@warrule]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_20

[@propose]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildMenu.txt] @Convert_GuildMenu_21

}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;