//Custom WOE warper 1.1 [Lupus]
//you can get to Novice Castles, too

n_castle.gat,102,107,5	script	Vimta	757,{
	mes "[Vimta]";
	mes "Hello, "+ strcharinfo(0) +"! What would you like?";
	next;
	menu "Warp me to Prontera",-,"Cancel",LEnd;
	
		warp "prontera.gat",155,177+rand(5);
		close;
	LEnd:
		mes "[Vimta]";
		mes "Ok. I'll wait here.";
		close;
}

prontera.gat,130,217,5	script	Vimta	757,{
	mes "[Vimta]";
	mes "Hello there! I'm a WOE representative, Vimta.";
	if (getcharid(2) < 1000 ) mes "You are not a guild member, "+ strcharinfo(0) +"? Naff off for now.";
	if (getcharid(2) < 1000 ) close;
	if (agitcheck(0) == 0) mes "When WOE is off I can warp you to Novice Castles only:";
	if (agitcheck(0) != 0) mes "I can warp you to any Castle:";
	next;
	if (agitcheck(0) == 0) menu "Novice Castles",novice_cas,"Cancel",-;
	if (agitcheck(0) != 0) menu "Prontera Castles",prtg_cas,"Payon Castles",payg_cas,"Geffen Castles",gefg_cas,"Aldebaran Castles",aldeg_cas,"Novice Castles",novice_cas,"Cancel",-;

	mes "[Vimta]";
	mes "Don't think too long, War of Emperium is such a cool thing.";
	close;

	prtg_cas:
		warp "prt_gld.gat",	159,	38;	close;


	payg_cas:
		warp "pay_gld.gat",	202,	173;	close;

	gefg_cas:
		warp "gef_fild13.gat",	270,	225;	close;

	aldeg_cas:
		warp "alde_gld.gat",	186,	157;	close;

	novice_cas:
		warp "n_castle.gat",	102,	103+rand(5);	close;
}
