If you have a script measure, you can actually run any Lua code directly from the skin. This includes, but is not limited to calling a function. See here for an explanation. Also, you don't need !Execute any more if you have the newest version of Rainmeter installed. Just omit it and it will still work fine.