Script.update.connect() but how to disconnect?


#1

Working on script that need for some time a timer, that i want todo with Script.update.connect(function). But how do i discounect the fucntion ?

Script.update.connect(function) -> works
Script.update.disconnect() -> fail

Is there some way ? or what do i wrong ?


#2

Ok, problem solved, want to report that the command exists and work, if placed at the right line.

Script.update.disconnect()