Search found 321 matches
- Mon Apr 14, 2014 9:59 pm
- Forum: Help Forum
- Topic: Different Style for Different Text in Same Label (CSS)
- Replies: 9
- Views: 5443
Re: Different Style for Different Text in Same Label (CSS)
If you're familiar with HTML, it's fairly trivial. Here's an (untested) example of an inline style: <p style="color: blue">Some blue text.</p> <p style="color: red">Some red text.</p> You'll want to look up some CSS to throw in the style attribute. You can also pass style informa...
- Fri Mar 07, 2014 8:31 pm
- Forum: Help Forum
- Topic: Damage Counter script errors
- Replies: 43
- Views: 25790
Re: Damage Counter script errors
From what little I know of the script, yes, that looks to be right.
You want to remove the _critName table and the part in CritAdd that indexes into it, as those become superfluous when your input data is already in the right format.
You want to remove the _critName table and the part in CritAdd that indexes into it, as those become superfluous when your input data is already in the right format.
- Thu Mar 06, 2014 5:05 pm
- Forum: Help Forum
- Topic: Damage Counter script errors
- Replies: 43
- Views: 25790
Re: Damage Counter script errors
As a bit of feedback (I can't speak to your problem, because I don't know the script well enough), but you can easily cut down on those crazy table definitions if you modify your pattern a bit. ^Your attacks? strikes? (?:an?|the) ([\w\s]+) (\d+) times, with \**(\w+)\** (\w+)!$ That one pattern match...
- Thu Feb 13, 2014 8:52 pm
- Forum: Help Forum
- Topic: Formating and Alignment issues
- Replies: 17
- Views: 10348
Re: Formating and Alignment issues
No problem. Glad it helped!
- Thu Feb 13, 2014 8:29 pm
- Forum: Help Forum
- Topic: Formating and Alignment issues
- Replies: 17
- Views: 10348
Re: Formating and Alignment issues
Very strange. With everything showing up as it's supposed to, I'd be hesitant to point to this function.
If it's only when you test, it may be trying to fire other Aliases? Can't say from where I'm sitting.
If it's only when you test, it may be trying to fire other Aliases? Can't say from where I'm sitting.
- Thu Feb 13, 2014 8:17 pm
- Forum: Help Forum
- Topic: Formating and Alignment issues
- Replies: 17
- Views: 10348
Re: Formating and Alignment issues
Hrm... Not sure what the echo issue could be. Is everything showing up like it's supposed to?
- Thu Feb 13, 2014 8:05 pm
- Forum: Help Forum
- Topic: Formating and Alignment issues
- Replies: 17
- Views: 10348
Re: Formating and Alignment issues
Oh, duh. I changed a variable name, but missed some references. This was a really simple thing to fix. Did you try to fix it first, or post first? The error message points out line 3, complaining about a nil value. Well, in line 3, there's only one variable that could possibly be nil. So you find wh...
- Thu Feb 13, 2014 7:19 pm
- Forum: Help Forum
- Topic: Formating and Alignment issues
- Replies: 17
- Views: 10348
Re: Formating and Alignment issues
The -11 part keeps all of your ::'s aligned, when you expand this code to cover multiple categories. The "%-11s" tells Lua to create a string 11 characters wide, using whitespace as padding. This is what it will look like without the "%-11s": Perception:: Herb:: Elixir:: Instead,...
- Thu Feb 13, 2014 5:04 pm
- Forum: Help Forum
- Topic: Formating and Alignment issues
- Replies: 17
- Views: 10348
Re: Formating and Alignment issues
Oh, my bad! LoL Wrote this right before bed, in the browser.
- Thu Feb 13, 2014 7:13 am
- Forum: Howtos, FAQs and Tips & Tricks
- Topic: function to easily align text for display (actually, 4 now)
- Replies: 30
- Views: 37416
Re: function to easily align text for display (actually, 4 n
icester: errors. Are you getting any? What are they? Help us help you.