Jump to content
  • 0

Command to warp to vip room ?


Ragnar_mod

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/13/21
  • Last Seen:  

How to make this command work ?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

Can you explain?

-	script	govip_atcmd	FAKE_NPC,{
OnAtcommand:
switch( select("Warp to VIP Room?:No, Thanks") )
			{
	case 1:
		if (vip_status(1)) {
		warp "prontera",154,172; // change map and coords to your VIP Room.
		}else {
		mes "Only vips can warp to VIP Room.";
		}
		break;
	case 2:
		break;
	}
	
OnInit:
bindatcmd "govip",strnpcinfo(3)+"::OnAtcommand";
end;
}
Edited by cook1e
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/13/21
  • Last Seen:  

On 6/18/2021 at 10:00 PM, cook1e said:

Can you explain?

example
by @govip a player get warped to the vip room

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