guibutton / exectrigger ??

Hi.
Trying to setup a trigger that has a red "tape" particle which can be toggled on/off by a gui, imagine a scenario when you interact with a console, that opens a gui and allows you to turn a laser on and off.
Here's the line that is bugging me:
It plays the sound, but does not toggle the particle to appear/dissapear. Any reason why that is?
The trigger works outside of the guibutton function, and i have also tried this:
also
But to no avail.
Ideas?
Trying to setup a trigger that has a red "tape" particle which can be toggled on/off by a gui, imagine a scenario when you interact with a console, that opens a gui and allows you to turn a laser on and off.
Here's the line that is bugging me:
- {l Code}: {l Select All Code}
guibutton "Toggle ^frred" [ sound 253; exectrigger 61 ]
It plays the sound, but does not toggle the particle to appear/dissapear. Any reason why that is?
The trigger works outside of the guibutton function, and i have also tried this:
- {l Code}: {l Select All Code}
somealias = [ sound 253; exectrigger 61 ]
guibutton "Toggle ^frred" $somealias
also
- {l Code}: {l Select All Code}
somealias = [ exectrigger 61 ]
guibutton "Toggle ^frred" $somealias
But to no avail.

Ideas?