Search found 65 matches
- Tue Dec 22, 2009 11:53 pm
- Forum: Help Forum
- Topic: Formatting (e.g. title case, lower case, etc.)
- Replies: 7
- Views: 6966
Re: Formatting (e.g. title case, lower case, etc.)
For anyone interested, some ultra-easy functions to make text formatting simple. function title(str) str = str:gsub("^%l", string.upper, 1) return str end function upper(str) str = string.upper(str) return str end function lower(str) str = string.lower(str) return str end Actually, here's ...
- Tue Dec 22, 2009 11:37 pm
- Forum: Help Forum
- Topic: Formatting (e.g. title case, lower case, etc.)
- Replies: 7
- Views: 6966
Re: Formatting (e.g. title case, lower case, etc.)
You guys are fantastic. This'll save me a ton of time.
- Tue Dec 22, 2009 10:58 pm
- Forum: Help Forum
- Topic: Formatting (e.g. title case, lower case, etc.)
- Replies: 7
- Views: 6966
Formatting (e.g. title case, lower case, etc.)
I migrated from zMud and so I'm a little spoiled.
What I want is a way to convert a string to proper/title case, or all uppercase, or any number of things.
I'm pretty much writing a function to do this right now, but is there an existing one? If so, I'm gonna slap myself.
What I want is a way to convert a string to proper/title case, or all uppercase, or any number of things.
I'm pretty much writing a function to do this right now, but is there an existing one? If so, I'm gonna slap myself.
- Mon Dec 21, 2009 8:25 pm
- Forum: Help Forum
- Topic: Display issues (doubling and delays).
- Replies: 9
- Views: 6788
Re: Display issues (doubling and delays).
Wow, nevermind.
I checked both the "Fix new text to be on its own line" and "Force new line on empty commands" options and both problems were fixed.
I checked both the "Fix new text to be on its own line" and "Force new line on empty commands" options and both problems were fixed.
- Mon Dec 21, 2009 7:33 pm
- Forum: Help Forum
- Topic: Display issues (doubling and delays).
- Replies: 9
- Views: 6788
Display issues (doubling and delays).
First off, love the client. I'm learning Lua by coding both in Mudlet and making AddOns in World of Warcraft, so I'm finding this a complete blast. :D That being said and done, I have a few simple qualms I hope you folks can help me straighten out. First off, my display seems to be... doubling, I gu...