View Single Post
  #16  
Old 05-25-2005, 01:16 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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
Reply With Quote