I know this mod is pretty old, along with cashstorage being old too, but I have been trying to figure out how to use VCE and cash events in order to make a simple shop.
[0] OnActivate > Client > VCE_ModVariable [Cash] Add [50]
[0] OnActivate > Client > VCE_IfVariable [Cash] == [50] [1 5][0] OnVariableTrue > Client > VCE_ModVariable [Cash] Subtract [50][0] OnVariableTrue > Client > AddItem [Sword][0] OnVariableTrue > Client > ChatMessage [<color:ffffff>You have purchased a <color:ffff00>Sword<color:ffffff> for [0]50 Gold.][33] OnVariableTrue > Client > ChatMessage [<color:ffff00>Total Cash<color:ffffff>: <var:cl:Cash>[0] OnVariableFalse > Client > ChatMessage [<color:ff00ff>You do not have the required amount of money]
Onwhatever>self>addcash