mrlongshen Posted February 18, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted February 18, 2013 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. Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 18, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted February 18, 2013 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; } 1 Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted February 19, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Author Share Posted February 19, 2013 thx alot emistry. +1 for u Quote Link to comment Share on other sites More sharing options...
Question
mrlongshen
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.