prontera.gat,146,194,3	script	qj#prtm1	722,{
	set @GIDp1,getcastledata("prtg_cas01.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDp1 != 0) goto LStartg;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̤GASҦv";
		mes "Ka";
		next;
		mes " ";
		mes "2.";
		mes "ԳӦubo̪AiȪ礧";
		mes "}aRݪH!";
		mes "|礩";
		mes "g{Ҫ";
		mes "KaҦv!";
		close;
LStartg:
		if (getcharid(2) == @GIDp1) goto LStartg2;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̳Q{w ^ff0000 " + GetGuildName(@GIDp1) + " ^000000u|";
		mes "p!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDp1) + " ^000000 u|DHO";
		mes "^ff0000 " + getguildmaster(@GIDp1) + " ^000000L׬O";
		mes "oƱN";
		mes "ЧA|_zCAۤvWAa!";
		close;
LStartg2:
		mes "[ wԤ  iO ]";
		mes "A{bNn";
		mes "iJu|";
		next;
		menu "O",-,"ݭn",Lclose;
			warp "prtg_cas01.gat",110,180;end;
LAgitStarted:
		mes "[ wԤ  iO ]";
		mes "𫰾Ԥwg}lA";
		if (getcharid(2) == @GIDp1) mes "ઽǰeiJu|C";
		if (getcharid(2) == @GIDp1) mes "аWXoAO@AC";
		if (getcharid(2) != @GIDp1) mes "nASݤFA|_zCAۤvWAaC";
		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	JLƴ#prtm2	722,{
	set @GIDp2,getcastledata("prtg_cas02.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDp2 != 0) goto LStartg;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̤GASҦv";
		mes "Ka";
		next;
		mes " ";
		mes "2.";
		mes "ԳӦubo̪AiȪ礧";
		mes "}aRݪH!";
		mes "|礩";
		mes "g{Ҫ";
		mes "KaҦv!";
		close;
LStartg:
		if (getcharid(2) == @GIDp2) goto LStartg2;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̳Q{w ^ff0000 " + GetGuildName(@GIDp2) + " ^000000u|";
		mes "p!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDp2) + " ^000000 u|DHO";
		mes "^ff0000 " + getguildmaster(@GIDp2) + " ^000000L׬O";
		mes "oƱN";
		mes "ЧA|_zCAۤvWAa!";
		close;
LStartg2:
		mes "[ wԤ  iO ]";
		mes "A{bNn";
		mes "iJu|";
		next;
		menu "O",-,"ݭn",Lclose;
			warp "prtg_cas02.gat",71,35;end;
LAgitStarted:
		mes "[ wԤ  iO ]";
		mes "𫰾Ԥwg}lA";
		if (getcharid(2) == @GIDp2) mes "ઽǰeiJu|C";
		if (getcharid(2) == @GIDp2) mes "аWXoAO@AC";
		if (getcharid(2) != @GIDp2) mes "nASݤFA|_zCAۤvWAaC";
		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	ԯߧJ#prtm3	722,{
	set @GIDp3,getcastledata("prtg_cas03.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDp3 != 0) goto LStartg;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̤GASҦv";
		mes "Ka";
		next;
		mes " ";
		mes "2.";
		mes "ԳӦubo̪AiȪ礧";
		mes "}aRݪH!";
		mes "|礩";
		mes "g{Ҫ";
		mes "KaҦv!";
		close;
LStartg:
		if (getcharid(2) == @GIDp3) goto LStartg2;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̳Q{w ^ff0000 " + GetGuildName(@GIDp3) + " ^000000u|";
		mes "p!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDp3) + " ^000000 u|DHO";
		mes "^ff0000 " + getguildmaster(@GIDp3) + " ^000000L׬O";
		mes "oƱN";
		mes "ЧA|_zCAۤvWAa!";
		close;
LStartg2:
		mes "[ wԤ  iO ]";
		mes "A{bNn";
		mes "iJu|";
		next;
		menu "O",-,"ݭn",Lclose;
			warp "prtg_cas03.gat",176,209;end;
LAgitStarted:
		mes "[ wԤ  iO ]";
		mes "𫰾Ԥwg}lA";
		if (getcharid(2) == @GIDp3) mes "ઽǰeiJu|C";
		if (getcharid(2) == @GIDp3) mes "аWXoAO@AC";
		if (getcharid(2) != @GIDp3) mes "nASݤFA|_zCAۤvWAaC";
		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	ƯS#prtm4	722,{
	set @GIDp4,getcastledata("prtg_cas04.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDp4 != 0) goto LStartg;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̤GASҦv";
		mes "Ka";
		next;
		mes " ";
		mes "2.";
		mes "ԳӦubo̪AiȪ礧";
		mes "}aRݪH!";
		mes "|礩";
		mes "g{Ҫ";
		mes "KaҦv!";
		close;
LStartg:
		if (getcharid(2) == @GIDp4) goto LStartg2;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̳Q{w ^ff0000 " + GetGuildName(@GIDp4) + " ^000000u|";
		mes "p!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDp4) + " ^000000 u|DHO";
		mes "^ff0000 " + getguildmaster(@GIDp4) + " ^000000L׬O";
		mes "oƱN";
		mes "ЧA|_zCAۤvWAa!";
		close;
LStartg2:
		mes "[ wԤ  iO ]";
		mes "A{bNn";
		mes "iJu|";
		next;
		menu "O",-,"ݭn",Lclose;
			warp "prtg_cas04.gat",247,244;end;
LAgitStarted:
		mes "[ wԤ  iO ]";
		mes "𫰾Ԥwg}lA";
		if (getcharid(2) == @GIDp4) mes "ઽǰeiJu|C";
		if (getcharid(2) == @GIDp4) mes "аWXoAO@AC";
		if (getcharid(2) != @GIDp4) mes "nASݤFA|_zCAۤvWAaC";
		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	w#prtm5	722,{
	set @GIDp5,getcastledata("prtg_cas05.gat",1);
	if ($AgitStarted == 1) goto LAgitStarted;
	if (@GIDp5 != 0) goto LStartg;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̤GASҦv";
		mes "Ka";
		next;
		mes " ";
		mes "2.";
		mes "ԳӦubo̪AiȪ礧";
		mes "}aRݪH!";
		mes "|礩";
		mes "g{Ҫ";
		mes "KaҦv!";
		close;
LStartg:
		if (getcharid(2) == @GIDp5) goto LStartg2;
		mes "[ wԤ  iO ]";
		mes " ";
		mes "1.";
		mes "ھڳo̪AwԤO";
		mes "o̳Q{w ^ff0000 " + GetGuildName(@GIDp5) + " ^000000u|";
		mes "p!";
		next;
		mes " ";
		mes "2.";
		mes "^ff0000 " + GetGuildName(@GIDp5) + " ^000000 u|DHO";
		mes "^ff0000 " + getguildmaster(@GIDp5) + " ^000000L׬O";
		mes "oƱN";
		mes "ЧA|_zCAۤvWAa!";
		close;
LStartg2:
		mes "[ wԤ  iO ]";
		mes "A{bNn";
		mes "iJu|";
		next;
		menu "O",-,"ݭn",Lclose;
			warp "prtg_cas05.gat",26,69;end;
LAgitStarted:
		mes "[ wԤ  iO ]";
		mes "𫰾Ԥwg}lA";
		if (getcharid(2) == @GIDp5) mes "ઽǰeiJu|C";
		if (getcharid(2) == @GIDp5) mes "аWXoAO@AC";
		if (getcharid(2) != @GIDp5) mes "nASݤFA|_zCAۤvWAaC";
		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;
}
