button events and duplicating tables

Hi,

I’ve been wondering if there is any way to have multiple onEvent statements for a button, of if I can make the onEvent do something like

onEvent = (variable = 10) and functionName

Basically if its possible to make one button do two things. Asking this because it would shorten my code by a lot instead of going from button1>function1>end function(used by all the buttons) to just button1>end function.

That and I was wondering if there was a way to copy the data from one table into another, so the second can be edited without affecting the first.

Thanks.