geffen.gat,109,123,2	script	˾#gefm1	722,{
	set @GIDg1,getcastledata("gefg_cas01.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDg1 != 0) goto LStartg;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "﹫ΪûʽȨ";
		mes "ܻ";
		next;
		mes " ";
		mes "2.";
		mes "սʤģµĿ֮";
		mes "ƻ!";
		mes "";
		mes "֤";
		mes "ܻȨ!";
		close;
LStartg:
		if (getcharid(2) == @GIDg1) goto LStartg2;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "ﱻ϶Ϊ ^ff0000 " + GetGuildName(@GIDg1) + " ^000000";
		mes "˽!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDg1) + " ^000000 ";
		mes "^ff0000 " + getguildmaster(@GIDg1) + " ^000000˭";
		mes "";
		mes "ĽԼ!";
		close;
LStartg2:
		mes "[ ¡   ]";
		mes "ڽҪ";
		mes "빤Ǳ";
		next;
		menu "ǵ",-,"Ҫ",Lclose;
			warp "gefg_cas01.gat",83,47;end;
LAgitStarted:
		mes "[ ¡   ]";
		mes "սѾʼ";
		if (getcharid(2) == @GIDg1) mes "ֱӴͽ빤Ǳ";
		if (getcharid(2) == @GIDg1) mes "ϳĳǱ";
		if (getcharid(2) != @GIDg1) mes "ҪԥˣĽԼɡ";
		close;
Lclose:
		close;
OnRecvCastleG01:
// [FlagEmblem GuildID]: Show EMBLEM of the GuildID to the FlagNPC(ClassID=722).
	FlagEmblem getcastledata("gefg_cas01.gat",1);
	set $AgitStarted,0;
	end;
OnAgitStart:
	FlagEmblem getcastledata("gefg_cas01.gat",1);
	set $AgitStarted,1;
	end;
OnAgitEnd:
	FlagEmblem getcastledata("gefg_cas01.gat",1);
	set $AgitStarted,0;
	end;
}

geffen.gat,112,129,1	script	ո#gefm2	722,{
	set @GIDg2,getcastledata("gefg_cas02.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDg2 != 0) goto LStartg;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "﹫ΪûʽȨ";
		mes "ܻ";
		next;
		mes " ";
		mes "2.";
		mes "սʤģµĿ֮";
		mes "ƻ!";
		mes "";
		mes "֤";
		mes "ܻȨ!";
		close;
LStartg:
		if (getcharid(2) == @GIDg2) goto LStartg2;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "ﱻ϶Ϊ ^ff0000 " + GetGuildName(@GIDg2) + " ^000000";
		mes "˽!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDg2) + " ^000000 ";
		mes "^ff0000 " + getguildmaster(@GIDg2) + " ^000000˭";
		mes "";
		mes "ĽԼ!";
		close;
LStartg2:
		mes "[ ¡   ]";
		mes "ڽҪ";
		mes "빤Ǳ";
		next;
		menu "ǵ",-,"Ҫ",Lclose;
			warp "gefg_cas02.gat",23,66;end;
LAgitStarted:
		mes "[ ¡   ]";
		mes "սѾʼ";
		if (getcharid(2) == @GIDg2) mes "ֱӴͽ빤Ǳ";
		if (getcharid(2) == @GIDg2) mes "ϳĳǱ";
		if (getcharid(2) != @GIDg2) mes "ҪԥˣĽԼɡ";
		close;
Lclose:
		close;
OnRecvCastleG02:
// [FlagEmblem GuildID]: Show EMBLEM of the GuildID to the FlagNPC(ClassID=722).
	FlagEmblem getcastledata("gefg_cas02.gat",1);
	set $AgitStarted,0;
	end;
OnAgitStart:
	FlagEmblem getcastledata("gefg_cas02.gat",1);
	set $AgitStarted,1;
	end;
OnAgitEnd:
	FlagEmblem getcastledata("gefg_cas02.gat",1);
	set $AgitStarted,0;
	end;
}

geffen.gat,120,132,8	script	#gefm3	722,{
	set @GIDg3,getcastledata("gefg_cas03.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDg3 != 0) goto LStartg;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "﹫ΪûʽȨ";
		mes "ܻ";
		next;
		mes " ";
		mes "2.";
		mes "սʤģµĿ֮";
		mes "ƻ!";
		mes "";
		mes "֤";
		mes "ܻȨ!";
		close;
LStartg:
		if (getcharid(2) == @GIDg3) goto LStartg2;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "ﱻ϶Ϊ ^ff0000 " + GetGuildName(@GIDg3) + " ^000000";
		mes "˽!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDg3) + " ^000000 ";
		mes "^ff0000 " + getguildmaster(@GIDg3) + " ^000000˭";
		mes "";
		mes "ĽԼ!";
		close;
LStartg2:
		mes "[ ¡   ]";
		mes "ڽҪ";
		mes "빤Ǳ";
		next;
		menu "ǵ",-,"Ҫ",Lclose;
			warp "gefg_cas03.gat",116,89;end;
LAgitStarted:
		mes "[ ¡   ]";
		mes "սѾʼ";
		if (getcharid(2) == @GIDg3) mes "ֱӴͽ빤Ǳ";
		if (getcharid(2) == @GIDg3) mes "ϳĳǱ";
		if (getcharid(2) != @GIDg3) mes "ҪԥˣĽԼɡ";
		close;
Lclose:
		close;
OnRecvCastleG03:
// [FlagEmblem GuildID]: Show EMBLEM of the GuildID to the FlagNPC(ClassID=722).
	FlagEmblem getcastledata("gefg_cas03.gat",1);
	set $AgitStarted,0;
	end;
OnAgitStart:
	FlagEmblem getcastledata("gefg_cas03.gat",1);
	set $AgitStarted,1;
	end;
OnAgitEnd:
	FlagEmblem getcastledata("gefg_cas03.gat",1);
	set $AgitStarted,0;
	end;
}

geffen.gat,127,130,7	script	ҫ#gefm4	722,{
	set @GIDg4,getcastledata("gefg_cas04.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDg4 != 0) goto LStartg;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "﹫ΪûʽȨ";
		mes "ܻ";
		next;
		mes " ";
		mes "2.";
		mes "սʤģµĿ֮";
		mes "ƻ!";
		mes "";
		mes "֤";
		mes "ܻȨ!";
		close;
LStartg:
		if (getcharid(2) == @GIDg4) goto LStartg2;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "ﱻ϶Ϊ ^ff0000 " + GetGuildName(@GIDg4) + " ^000000";
		mes "˽!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDg4) + " ^000000 ";
		mes "^ff0000 " + getguildmaster(@GIDg4) + " ^000000˭";
		mes "";
		mes "ĽԼ!";
		close;
LStartg2:
		mes "[ ¡   ]";
		mes "ڽҪ";
		mes "빤Ǳ";
		next;
		menu "ǵ",-,"Ҫ",Lclose;
			warp "gefg_cas04.gat",59,70;end;
LAgitStarted:
		mes "[ ¡   ]";
		mes "սѾʼ";
		if (getcharid(2) == @GIDg4) mes "ֱӴͽ빤Ǳ";
		if (getcharid(2) == @GIDg4) mes "ϳĳǱ";
		if (getcharid(2) != @GIDg4) mes "ҪԥˣĽԼɡ";
		close;
Lclose:
		close;
OnRecvCastleG04:
// [FlagEmblem GuildID]: Show EMBLEM of the GuildID to the FlagNPC(ClassID=722).
	FlagEmblem getcastledata("gefg_cas04.gat",1);
	set $AgitStarted,0;
	end;
OnAgitStart:
	FlagEmblem getcastledata("gefg_cas04.gat",1);
	set $AgitStarted,1;
	end;
OnAgitEnd:
	FlagEmblem getcastledata("gefg_cas04.gat",1);
	set $AgitStarted,0;
	end;
}

geffen.gat,131,123,6	script	ü˿#gefm5	722,{
	set @GIDg5,getcastledata("gefg_cas05.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDg5 != 0) goto LStartg;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "﹫ΪûʽȨ";
		mes "ܻ";
		next;
		mes " ";
		mes "2.";
		mes "սʤģµĿ֮";
		mes "ƻ!";
		mes "";
		mes "֤";
		mes "ܻȨ!";
		close;
LStartg:
		if (getcharid(2) == @GIDg5) goto LStartg2;
		mes "[ ¡   ]";
		mes " ";
		mes "1.";
		mes "ģ¡";
		mes "ﱻ϶Ϊ ^ff0000 " + GetGuildName(@GIDg5) + " ^000000";
		mes "˽!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDg5) + " ^000000 ";
		mes "^ff0000 " + getguildmaster(@GIDg5) + " ^000000˭";
		mes "";
		mes "ĽԼ!";
		close;
LStartg2:
		mes "[ ¡   ]";
		mes "ڽҪ";
		mes "빤Ǳ";
		next;
		menu "ǵ",-,"Ҫ",Lclose;
			warp "gefg_cas05.gat",80,30;end;
LAgitStarted:
		mes "[ ¡   ]";
		mes "սѾʼ";
		if (getcharid(2) == @GIDg5) mes "ֱӴͽ빤Ǳ";
		if (getcharid(2) == @GIDg5) mes "ϳĳǱ";
		if (getcharid(2) != @GIDg5) mes "ҪԥˣĽԼɡ";
		close;
Lclose:
		close;
OnRecvCastleG05:
// [FlagEmblem GuildID]: Show EMBLEM of the GuildID to the FlagNPC(ClassID=722).
	FlagEmblem getcastledata("gefg_cas05.gat",1);
	set $AgitStarted,0;
	end;
OnAgitStart:
	FlagEmblem getcastledata("gefg_cas05.gat",1);
	set $AgitStarted,1;
	end;
OnAgitEnd:
	FlagEmblem getcastledata("gefg_cas05.gat",1);
	set $AgitStarted,0;
	end;
}
