Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OnDoJoin: // @joinbg
- .@is_wednesday = ( gettime(4) == 3 );
- .@is_trans_job = ( eaclass() & EAJL_UPPER );
- if( BaseLevel < 80 ){
- dispbottom "[Min required level to join a battleground is 80.]";
- end;
- }
- if( agitcheck() ){
- dispbottom "[You can't participate in Battlegrounds while WoE is active.]";
- end;
- }
- if( checkquest(8506,PLAYTIME) == 2 )
- erasequest 8506;
- if( checkquest(8506,PLAYTIME) != -1 )
- {
- dispbottom "[You are a Deserter. You can't participate until the indicator goes off]";
- end;
- }
- if ($@BG_Can_Join==1){
- dispbottom "You cannot join the game ["+.BG_Names$[$BG_Index]+"] which is running for 4 minutes";
- end;
- }
- if( .@is_wednesday && .@is_trans_job ){
- dispbottom "This is Classic Battleground, you cant join Battleground today.";
- end;
- }
- else if( !.@is_wednesday && !.@is_trans_job ){
- dispbottom "You cannot join battleground if your not in transcended jobs";
- end;
- }
- bg_queue_join .BG_Queue;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement