I cant get it to work... can you please help me?
integer CHANNEL = 55;integer total;generalParticleEmitterOn() (xxx cutted long script)default{ on_rez(integer s) {// llResetScript(); } state_entry() { updateText();// {generalParticleEmitterOn(); llListen(CHANNEL, "", llGetOwner(), ""); } money (key giver, integer amount) { llSay(0, "Thanks for the " + (string)amount + "L$, " + llKey2Name(giver)); total+=amount; updateText(); generalParticleEmitterOn(); } touch_start(integer count) { if(llDetectedKey(0)==llGetOwner()) { llDialog(llDetectedKey(0), "Clear total amount?", ["Yes","No"], CHANNEL); } } listen(integer channel, string name, key id, string message) { if( message=="Yes" && id==llGetOwner() ) { total = 0; updateText(); } }}