I have created a custom script variable using metadb_display_hook and want to refresh scripts which use that variable.
I discovered dispatch_refresh() method which takes handle list but I don't know exactly what should I insert into that list.
Currently I tried g_get_random_handle() which gets me 'some' handle and all seems to work, but I have strange feeling that this is not the right to do.
Would somebody be so kind and give me some advice what handle should I pass to dispatch_refresh() to refresh the scripts?
Thank you.