ok ill here is wat i have so far i just want to add 100,000 gold to a activator so when u activate the button its gives you that ammount of gold.
Scriptname addgoldx10 extends Actor
int Property TrainerType Auto
;
;This script is added on an activator to fake an object being harvestable
; it mimics the normal harvest behavior
;==============================================================
 
ingredient property IngredientHarvested auto
{ingredient added when harvested}
potion property PotionHarvested auto
{potion added when harvested}
bool property deleteSelfOnHarvest = false auto
{if true, delete this object when harvested}
message property HarvestMessage auto
{Message that appears when you have successfully harvested something}
message property FailureMessage auto
{Message that appears when you fail to harvest something}
 
 
sound property HarvestSound auto
{Sounds played on harvest}
;===================================================================
;;STATE BLOCK
;===================================================================
auto state readyForHarvest
event onActivate(objectReference akActivator)
fakeHarvest(akActivator)
if deleteSelfOnHarvest
disable()
delete()
endif
endEvent
endState
 
event onActivate(objectReference akActivator)
FailureMessage.show()
endEvent
;===================================================================
;;FUNCTION BLOCK
;===================================================================
function fakeHarvest(objectReference akActivator)
if (akActivator as actor)
HarvestMessage.show()
HarvestSound.play(self)
if IngredientHarvested
(akActivator as actor).addItem(IngredientHarvested, 100000, true)
endif
if PotionHarvested
(akActivator as actor).addItem(PotionHarvested, 100000, true)
endif
endif
endFunction
 
 
MiscObject Property goldadded Auto
this is the one that i used for my moonshine mod adn it gave you 5 bottles of moonshine each time u clicked on it. now i want to do the same wiht gold