Axe Software Forums
  QuestNet Forum
  giving the player an object

Post New Topic  
profile | register | faq

Author Topic:   giving the player an object
Gautier UK posted 13-04-2003 13:28 BST   Click Here to See the Profile for Gautier UK   Click Here to Email Gautier UK  
i know that in QuestNet, u cant use the string #player# to give the player an object. what code do i need to be able to give the player an object...for example. the player goes to a shop, and type /item list. a list of items that are available to buy come up. the player then types /buy <item>. now i need to know wot code the player is.... i think its $name(%userid%)$, ill try it but knowing my luck it wont work.
Alex posted 13-04-2003 18:20 BST     Click Here to See the Profile for Alex  Click Here to Email Alex     
Just move the object into the player's inventory. The player's inventory has the same name as the object name of the player. For example:

move <cabbage; player%userid%>

Gautier UK posted 14-04-2003 20:03 BST     Click Here to See the Profile for Gautier UK  Click Here to Email Gautier UK     
hehe, thanks.
Alex posted 14-04-2003 23:16 BST     Click Here to See the Profile for Alex  Click Here to Email Alex     
Actually if you're just giving the object to the player that initiated the script, then the standard "give <object>" syntax ought to work as well.
Gautier UK posted 23-04-2003 22:57 BST     Click Here to See the Profile for Gautier UK  Click Here to Email Gautier UK     
thanks

Post New Topic  Post Reply
Hop to:


Contact Us | Axe Software

Powered by: Ultimate Bulletin Board, Freeware Version 2000a
Purchase our Licensed Version- which adds many more features!
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.