Pet Rental NPC

JaguarPaw

LOMCN Member
Sep 1, 2012
193
2
45
Bichon
Thank you very much appreciated :)

---------- Post Merged on 08-10-2014 at 12:28 PM ---------- Previous Post was on 07-10-2014 at 03:28 PM ----------

none of them are working any ideas?
 
Upvote 0

JaguarPaw

LOMCN Member
Sep 1, 2012
193
2
45
Bichon
fantastic looks so simple, this will work when a player clicks the npc?
if we were to add a cost so ppl had to pay either gold or GG and time limit for the pet?

how would the script look?
 
Upvote 0

OoOoOo24

Golden Oldie
Golden Oldie
Apr 30, 2005
1,713
20
175
Wales~Cardiff
Screw it why not.

Code:
[@main]
Hi <$USERNAME> . Would you like a pet? They cost 5,000 gold!\\
<Yes/@yes> - <No thanks/@exit>


[@yes]
#IF
checkgold 5000
#ACT
goto @petz
#ELSEACT
goto @nomoney

[@petz]
#ACT
gmexecute recallmob omaking
take gold 5000
#SAY
Enjoy your pet, come back any time! \\
<Thanks/@exit>



[@nomoney]
You don't have enough, come back when you have 5,000 gold. \\
<Ok, bye/@exit>




Change the monster name and gold amount to your preference.

That is however without a time limit, I cba looking up commands for a time limited pet.
 
Last edited:
Upvote 0