Quote:
|
Originally Posted by Kaimetsu
Hm. What about things like obj.substring(...)? Is it necessary to use something like this?
NPC Code:
text = obj.substring(...);
myfunction (text.link());
Also, it's not really relevant to the thread, but is it possible that we could get clipboard access from within scripts? Mostly for scripted chat bars and suchlike.
|
If you pass the parameter as link then the function should be able to change the content of the original variable (not tested that a lot yet though).
About clipboard: the question is security yes, may be we could make some onClipboardInsert event that is called when you do Ctrl+V or Shift+Insert