Jump to content

  •  

Photo

Rental + Account Bound

npc script

  • Please log in to reply
1 reply to this topic

#1 ChivalryRO

ChivalryRO

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 09 November 2016 - 10:37 AM

getitembound2 + rentitem ? is that possible ? cuz i want to make a freebies npc that gives account bound item with expiration.



#2 Nihad

Nihad

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • Github:nihadm89

Posted 09 November 2016 - 04:27 PM

*rentitem(<item id>, <time>)
*rentitem("<item name>", <time>)
 
Creates a rental item in the attached character's inventory. The item will 
expire in <time> seconds and be automatically deleted. When receiving a 
rental item, the character will receive a message in their chat window. 
The character will also receive warning messages in their chat window 
before the item disappears.
 
This command can not be used to rent stackable items. Rental items cannot 
be dropped, traded, sold to NPCs, or placed in guild storage (i.e. trade 
mask 75).
Note: delitem() in an NPC script can still remove rental items.
 
I believe the rent command already accomplishes what you are trying to.






Also tagged with one or more of these keywords: npc script

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 55 user(s)