use this at 1st npc
set $@guild$, strcharinfo(2);
mes "This Map is your own now";
maprespawnguildid "guild_war",getcharid(2),2;
close2;
donpcevent "SECONDNPCNAME::OnInit";
end;
use this in the second npc...
OnInit:
delwaitingroom;
waitingroom "[ "+$@guild$+" ]",0;
end;