Jump to content
  • 0

Pet Intimintacy


mrlongshen

Question


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

Hallo. I would like to request a custom npc, that is 1 click will detect user have pet or not, so when the npc detect the player have a pet, so it will make the pet LOYAL.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try this

prontera,155,171,5	script	Sample	757,{
if( getpetinfo(2) == "null" ){
	npctalk "You didnt have any pet.";
}else if( getpetinfo(3) >= 1000 ){
	npctalk "Your pet are already in Loyal state.";
}else{
	atcommand "@petfriendly 1000";
}
end;
}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

thx alot emistry.

+1 for u :)

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