It's real simple, look:
#org @start
setvar 0x4013 0x1
goto @script
end
#org @script
compare 0x4013 0x1
if 0x1 goto @left_trigger
compare 0x4013 0x2
if 0x1 goto @middle_trigger
compare 0x4013 0x3
if 0x1 goto @right_trigger
release
end
#org @left_trigger
'Script for the left trigger
release
end
#org @middle_trigger
'script for the middle trigger
release
end
#org @right_trigger
'Script for the right trigger
release
end
So I compiled it, and got this example offset for "@script, 0x801000.
What you should do now, is plug it into the next two scripts:
#org @start
setvar 0x4013 0x2
goto 0x801000
end
#org @start
setvar 0x4013 0x3
goto 0x801000
end
Why? To save space... The real script is 0x801000, and that's where it checks which variable was set. And to set a variable, you must step on that trigger. Now depending on which trigger you step on, a variable's value is set. For instance, if you step on the Middle one, value 2 is set for 0x4013.
When one value is set for a variable (in this situation) the other ones don't matter. Because it is only checking if ONE has been set, and if none have been set than the script will end. If one has been set, then the script will execute the script part accordingly.
And if this didn't help you, I'm afraid you need to read some tutorials...But hopefully you are a better scripter than I had in Mind ^_^
ONE MORE THING! ....Have fun :P