[userfunction] buyDiamonds()
Posted: Mon Dec 03, 2012 8:05 am
buyDiamonds() - Version 1.0
Description
This will buy diamonds at the npc Cedric in Varanas Cityplace. Be sure that your char stands near Cedric when calling this userfunction.
Usage
Description
This will buy diamonds at the npc Cedric in Varanas Cityplace. Be sure that your char stands near Cedric when calling this userfunction.
Usage
Code: Select all
buyDiamonds(_buyThisManyTimes, _debug_mode)
- _buyThisManyTimes - defaults to 1, how many times you want to talk to the NPC and try to buy diamond, currently this is limitted to 1 per account and day by the gameclient
- _debug_mode - true/false, defaults to false, prints some extra debug info and sleeps before buying diamonds. you need to press "del" to continue.
- You can change the default settings in the userfunction.
Code: Select all
buyDiamonds()
- runs with default settings and equals to
Code: Select all
buyDiamonds(1,false)
- tries to buy diamonds from the NPC one time and does not print debug info and does not wait before buying
Code: Select all
buyDiamonds(3)
- tries to buy diamond 3 times
Code: Select all
buyDiamonds(3,true)
- tries to buy diamond 3 times, prints debug info and waits before it starts to buy
- Version 1.0
initial Version