Jump to content
  • 0

@aura Command onlogin


simplexjay2

Question


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

i want to make npc that when he detect the player in log in a vip it will automatically set the aura to 16 and but if it's not vip or the vip is expired it will be back the aura to 0

- script aura_atcommand -1,{
OnPCLoginEvent:
if(vip_status(0)) 
atcommand "@aura 0";
}
- script aura_atcommand -1,{
OnPCLoginEvent:
if(vip_status(1)) 
atcommand "@aura 16";
}

What's wrong with it

 

 

Edited by simplexjay2
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

Try this...

-	script	aura_atcommand	-1,{
OnPCLoginEvent:
	if(vip_status(0)){
		atcommand "@aura 0";
		end;
	}
}
-	script	aura_atcommand	-1,{
OnPCLoginEvent:
	if(vip_status(1)){
		atcommand "@aura 16";
		end;
	}
}
Edited by Lelouch vi Britannia
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...