WoW:API StartAuction: Difference between revisions

m
no edit summary
(upgraded deprecated template)
mNo edit summary
Line 7: Line 7:
'50' or '10' or '1' will always make the auction do '1 silver'. But '102' will make it do '1 silver 2 copper'.   
'50' or '10' or '1' will always make the auction do '1 silver'. But '102' will make it do '1 silver 2 copper'.   


The runTime is in minutes. Apparently, the ''only'' permissible values are 2*60, 8*60, 24*60, for 2, 8, and 24 hours, respectively.
The runTime is in minutes. Apparently, the ''only'' permissible values are 8*60, 24*60, 48*60, for 8, 24, and 48 hours, respectively.


Examples:
Examples:
Line 26: Line 26:
*Type the following into chat window:
*Type the following into chat window:


  /script StartAuction(1,150,120)
  /script StartAuction(1,150,8*60)


*This should create an auction starting at 1 silver, buyout at 1 silver 50 copper, with auction time of 2 hours.
*This should create an auction starting at 1 silver, buyout at 1 silver 50 copper, with auction time of 8 hours.
*It should say 'Auction Created' in the chat window.  
*It should say 'Auction Created' in the chat window.  
*Now if you go to browse the auctions, your items should show up.
*Now if you go to browse the auctions, your items should show up.
Anonymous user