Jump to content
  • 0

Is there a way to check Condition right after join NPC waitingroom


Alexandrite

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   0
  • Joined:  02/19/14
  • Last Seen:  

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

There have been no answers to this question yet

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...