Shop

Command Format

NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);


  • void Client.Buy('shopListName', ['vendorName'], [shopDelay=0]);

Initiate buying.

This will block user input untill completed.

If shops buy list has appeared but there are no matches for buying, this process will end and resume accepting user input.

If shops buy list doesn't appear, it awaits 'shopDelay' amount of time in ms and blocks user input.

  • shopListName - name of the shop list with goods to buy.

  • vendorName - name of vendor.

  • shopDelay - buying operation delay. Will be measured automatically if passed as 0 or as default based on amount of goods to buy and 'Shop delay for 1 stack' value.


  • void Client.Sell('shopListName', ['vendorName'], [shopDelay=0]);

Initiate selling.

This will block user input untill completed.

If shops sell list has appeared but there are no matches for selling, this process will end and resume accepting user input.

If shops sell list doesn't appear, it awaits 'shopDelay' amount of time in ms and blocks user input.

  • shopListName - name of the shop list with goods to sell.

  • vendorName - name of vendor.

  • shopDelay - selling operation delay. Will be measured automatically if passed as 0 or as default based on amount of goods to sell and 'Shop delay for 1 stack' value.


  • bool Client.WaitForShop([delay=1000]);

Await for a shop gump for a given 'delay' amount of time and blocking script execution.

Returns true if a shop gump was received during this period.