Jump to content
  • 0
ragnazorg

No one is allowed to enter the chatroom if Battlegrounds hasn't started

Question

Hello,

I am using eamod and I have my own randomizer for the Battlegrounds where in they can join Battlegrounds even if it already started. It uses a chatroom to send people in the Battleground. What I want the script to do is kick the player inside the pub if the Battleground mode hasn't started yet.

Thank you.

bat_room,155,123,4    script    Rushb::RushbR_Random    852,{
   end;
OnInit:
   waitingroom "Rush Third",1,"Rushb::OnDoB_RushbR",1;
   end;
}

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Why not specify the second argument (user limit) to 0 to avoid users to join the pub and delete the recreate the pub (delwaitingroom - waitingroom) when the battleground start (and change the "user limit" to 1).

  • Upvote 2
Link to comment
Share on other sites

  • 0

I'm assuming waitingroom_kickall() works...

OnDoB_RushbR: 
 if (// whatever var you use to determine if bg started) {
   waitingroom_kickall "Rushb::RushR_Random";
 }
 // other functions

Ack, KeyWorld's solution is better, I was thinking that as well though :)

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.