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

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

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

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

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