Search found 176 matches

by Iocun
Fri Jan 10, 2014 6:38 pm
Forum: Help Forum
Topic: Making two words align left and right on a Geyser Label
Replies: 1
Views: 858

Re: Making two words align left and right on a Geyser Label

I don't think normal text-align CSS commands work. You can however use QT alignment properties to set the alignment for an entire label in its style sheet: statusbar.target1:setStyleSheet([[qproperty-alignment: 'AlignRight']]) I can't think of a way of making one part of a label's text aligned to th...
by Iocun
Sat Apr 27, 2013 11:37 pm
Forum: General Forum
Topic: Mudlet features and API requests
Replies: 520
Views: 287972

Re: Mudlet features and API requests

Awesome, thanks!
by Iocun
Tue Apr 23, 2013 9:07 pm
Forum: General Forum
Topic: Mudlet features and API requests
Replies: 520
Views: 287972

Re: Mudlet features and API requests

Yeah, I'm quite sure assert simply raises an error, and thus aborts the process too.
by Iocun
Tue Apr 23, 2013 2:15 pm
Forum: General Forum
Topic: Mudlet features and API requests
Replies: 520
Views: 287972

Re: Mudlet features and API requests

I would love a way to echo into the error console without actually raising an error with error(). Raising an actual error in Lua also aborts the process that called it, which I don't always want, so I'd love to be able to call a function with pcall() and simply print an error message to the console ...
by Iocun
Tue Jan 15, 2013 11:53 am
Forum: Help Forum
Topic: Making an Echoable List of Affs from gmcp.Char.Affliction
Replies: 4
Views: 1165

Re: Making an Echoable List of Affs from gmcp.Char.Afflictio

Regardless, just for the sake of general education and not letting any flawed code remain unchallenged, here some things that are wrong with the code as posted above: 1. In Lua, "not equal" is written as ~= instead of !=. 2. If there's a "list" of sorts, it will probably be a table and not a string....
by Iocun
Wed Jan 09, 2013 10:18 pm
Forum: Mudlet Development
Topic: Suggestion: More UI Toggles
Replies: 6
Views: 2414

Re: Suggestion: More UI Toggles

Sounds reasonable to keep the emergency stop permanent, yeah.

For emergencies!
by Iocun
Tue Jan 08, 2013 3:39 am
Forum: Mudlet Development
Topic: Suggestion: More UI Toggles
Replies: 6
Views: 2414

Re: Suggestion: More UI Toggles

Just because some people have can have difficulties with them doesn't mean they should be removed for all those of us who do enjoy that level of customisation, in order to get a prettier GUI or simply more space when playing on a small screen etc. We might just as well ask for the removal of several...
by Iocun
Sun Jan 06, 2013 6:11 pm
Forum: General Forum
Topic: Mudlet features and API requests
Replies: 520
Views: 287972

Re: Mudlet features and API requests

I'd love if the onDisconnectionEvent was raised when it's the mud that closes the connection too (as a result of quitting or timing out), rather than only when you disconnect manually. If that's undesirable for some reason, another event that is raised then. Another thing that would be great to have...
by Iocun
Thu May 10, 2012 9:20 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: Cecho String Length
Replies: 8
Views: 2905

Re: Cecho String Length

You have two other errors here, too: First, "<white>", not "<white". Second, tempString:gsub not tempString.:gsub The actual problem you're referring to though is that the Lua pattern "\<.+\>" is greedy, meaning it will try to match as much as possible. It will thus start a match from the first < to...
by Iocun
Wed Apr 11, 2012 3:25 pm
Forum: Help Forum
Topic: wrong syntax? or just plain wrong?
Replies: 2
Views: 1022

Re: wrong syntax? or just plain wrong?

It's tempTimer with the second T capitalized.