if i have an on text, on notice and on action part in a script that just do the same thing is there a way to do it all together rather than have 3 on *'s ?

hope you get what i mean