crismar Posted April 16, 2014 Share Posted April 16, 2014 Is there a event handler for MemoBox that gets triggered when someone types in it ? Something like 'onMemoBoxType' ? Searched but couldn't find any, would be usefull for my script since I want to count characters and I'm using a timer at the moment, though I think it'd be more professional to use a event handler for it. Also, another question, does LUA have a function like PHP to shrink a string ? More exactly, say I have a 300 characters long string. In PHP you could substr(string, 100) to get first characters and so on. In short I'm develping a report panel and I want to limit it's characters to 300 (did that already), but I want to output it in chatbox in sequences of 100 characters. Could you tell me the function ? Link to comment
Vinctus Posted April 16, 2014 Share Posted April 16, 2014 http://lua-users.org/wiki/StringLibraryTutorial try here Link to comment
Gtagasje Posted April 16, 2014 Share Posted April 16, 2014 Regarding the memo, "onClientGUIChanged" Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now