tpt.element_func
allows you to replace or add on to an element's update function. Write a function like normal, and then put its name into this command. Use tpt.element("...") or tpt.el.dust.id for el_number, and make replace true if you want to overwrite the previous function, or false instead.
Passes: (number index, number partx, number party, number surround_space, number nt)tpt.element_func(function newfunction, number el_number)
tpt.element_func(function newfunction, number el_number, boolean replace)