I have my own battle grounds script made one of my friend but now i can't contact him thats why im here i just want to ask how to make this script only LEVEL 99 Trans and any job except for 3rd jobs can join my BG? anyone kindly edit this script
OnPlayerEnterActive:
if($@BGState) {
if(($@guillCount - $@croixCount) > 0) {
kickwaitingroomall "Guillaume";
} else {
getwaitingroomusers();
if(attachrid(.@waitingroom_users[0])) {
if(BaseLevel >= getvariableofnpc(.BGMinLevel, "BGBase")) {
if(getcharid(4)) { //get rid of any existing bg groups
bg_leave();
}
//heal
percentheal 100,100;
if($@BGState == 1) {
//game is in lobby state
waitingroom2bg_single($@BGGuillID, "bat_b01", 9, 289, "Guillaume");
} else {
//game is in running state
waitingroom2bg_single($@BGGuillID, "bat_b01", 9, 289, "Guillaume");
}
donpcevent "BGBase::OnUpdatePlayerCounts";
} else {
dispbottom "You need to be at least level " + getvariableofnpc(.BGMinLevel, "BGBase") + " to join";
}
kickwaitingroomall("Guillaume");
}
}
} else {
donpcevent "Guillaume::OnUpdateInactiveGame";
}
end;
Question
Jin Freecs
I have my own battle grounds script made one of my friend but now i can't contact him thats why im here i just want to ask how to make this script only LEVEL 99 Trans and any job except for 3rd jobs can join my BG? anyone kindly edit this script
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.