1. onBotKilled > Client > varModVariable [gold]
- [4] (this add 4 client-side gold when a bot is killed, you can set the onBotKilled to whatever you want)
1. onActivate > Self > RetroCheck [var:cl:gold] [>=] [2] [2 4] (this checks if the player has necessary amount of gold to buy the item)
2. onvariabletrue > Player > addItem (if the player has enough, the player will get the item)
3. onvariabletrue > Client > varModVariable [gold] [-] [2] (this takes 2 gold from the client)
4. onvariablefalse > Client > centerprint [You don't have enough money] (if the player doesn't have enough money, it displays this message)