woe reward and recall

minx123

New member
Messages
283
Points
0
Github
minx123
hello..

i need some help, i found this script to recall guild mate but

i want make

if that guild win, leader will talk to npc at town and bring him to other map.

then leader will recall all guild mate to that map.

when leader already recall, all guild mate can claim to the npc beside it and send them to town back.

Code:
prontera,150,150,5	script	Fokker	56,{
	set .@guild_id, getcharid(2);
	if ( !.@guild_id ) {
		mes "You are not in a guild";
		close;
	}
	else if ( getguildmasterid(.@guild_id) != getcharid(0) ) {
		mes "I only talk to the guild master";
		close;
	}
	mes "Recall your guild now?";
	next;
	if ( select( "Yes", "No" ) -1 ) end;
	warpguild "prontera",150,151,.@guild_id;
	set .click, .click +1;
	if ( .click % 2 ) end;
	disablenpc strnpcinfo(3);
	enablenpc "your npc";
}
 
Back
Top