Alexandrite Posted April 18, 2024 Group: Members Topic Count: 21 Topics Per Day: 0.01 Content Count: 54 Reputation: 0 Joined: 02/19/14 Last Seen: September 10, 2024 Share Posted April 18, 2024 this is example of my currently use OnInit: waitingroom "Waiting Room",20,"Peter S. Alberto#job_league::OnStartArena",1; enablewaitingroomevent; end; OnStartArena: warpwaitingpc "job_prist$",24,44; attachrid $@warpwaitingpc; if (BaseJob == Job_Priest) { goto OnStart; }else if(BaseJob == Job_Acolyte){ donpcevent "Zombie_Generator#job_league::OnEnable"; } disablewaitingroomevent; end; OnStart: enablewaitingroomevent; end; This Code is worked... But it's wrong order because this code already trigger after you got trigger "warpwaitingnpc" and then you "attachrid" later I would like to make a room condition right after they enter the chatroom as if when you enter the room if(BaseJob == Job_Priest) or if(BaseJob == Job_Acolyte) or if(BaseJob == XXXX) I mean I want it check in the begining of when player enter the ChatRoom And I would like command to click the player that not met condition out of that Room too Is it possible ? I mean i want to make a room that people who met Condition only who can enter ? Thank you and sorry for my bad endlish Quote Link to comment Share on other sites More sharing options...
Question
Alexandrite
this is example of my currently use
OnInit: waitingroom "Waiting Room",20,"Peter S. Alberto#job_league::OnStartArena",1; enablewaitingroomevent; end; OnStartArena: warpwaitingpc "job_prist$",24,44; attachrid $@warpwaitingpc; if (BaseJob == Job_Priest) { goto OnStart; }else if(BaseJob == Job_Acolyte){ donpcevent "Zombie_Generator#job_league::OnEnable"; } disablewaitingroomevent; end; OnStart: enablewaitingroomevent; end;
This Code is worked...
But it's wrong order because this code already trigger after you got trigger "warpwaitingnpc" and then you "attachrid" later
I would like to make a room condition right after they enter the chatroom
as if when you enter the room if(BaseJob == Job_Priest) or if(BaseJob == Job_Acolyte) or if(BaseJob == XXXX)
I mean I want it check in the begining of when player enter the ChatRoom
And I would like command to click the player that not met condition out of that Room too
Is it possible ?
I mean i want to make a room that people who met Condition only who can enter ?
Thank you and sorry for my bad endlish
Link to comment
Share on other sites
0 answers 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.