Jump to content
  • 0

No Guild Autokicker


Question

3 answers to this question

Recommended Posts

  • 0
Posted

Have you tried nanakiwurtz's script? I believe that's what you need.

-	script	CastleBlocker	-1,{
OnInit:
// Add more castle maps here:
setarray .map$,"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
set .map_size,getarraysize(.map$);
for (.@i = 0; .@i < .map_size; .@i++)
setmapflag .map$[.@i],mf_loadevent;
end;

OnPCLoadMapEvent:
for (.@i = 0; .@i < .map_size; .@i++)
	if (strcharinfo(3) == .map$[.@i]) {
        if(!getcharid(2)) {
			mes "Sorry, you are not in a guild!";
			close2;
			warp "prontera",155,180;
		}
		break;
	}
end;
}
  • 0
Posted

Have you tried nanakiwurtz's script? I believe that's what you need.

-	script	CastleBlocker	-1,{
OnInit:
// Add more castle maps here:
setarray .map$,"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
set .map_size,getarraysize(.map$);
for (.@i = 0; .@i < .map_size; .@i++)
setmapflag .map$[.@i],mf_loadevent;
end;

OnPCLoadMapEvent:
for (.@i = 0; .@i < .map_size; .@i++)
	if (strcharinfo(3) == .map$[.@i]) {
        if(!getcharid(2)) {
			mes "Sorry, you are not in a guild!";
			close2;
			warp "prontera",155,180;
		}
		break;
	}
end;
}

Yes.. I tried it but it affects euphys controller.. when i used that script, its says the war of emperium is inactive and players with guild will be warped back to their Savepoint.. then i have to reconfig again euphys woe controller so that the castle will be active.. when i do that, that kicker is not working.. i dunno what seems to be the problem

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...