API:StoreBuyItem

StoreBuyItem( this.index, Number );

Arguments

 * this.index -
 * Number of Slot


 * Number -
 * Amount

Example
/script StoreBuyItem(1,99)

Buys "99" of Slot "1"