Search found 1101 matches

by Jor'Mox
Sun Apr 28, 2013 6:25 pm
Forum: Help Forum
Topic: Font In Main Window Randomly Changing
Replies: 16
Views: 3398

Font In Main Window Randomly Changing

Sometimes when I connect (or raise a "sysConnectionEvent"), the font in my main window will suddenly change (to a font that isn't fixed width). Is there a way to avoid this, or, if not, fix it when it occurs without going into settings, changing the font, and then changing it back manually?
by Jor'Mox
Sun Apr 28, 2013 3:42 am
Forum: Help Forum
Topic: Setting Word Wrap for MiniConsoles in Geyser
Replies: 18
Views: 4172

Re: Setting Word Wrap for MiniConsoles in Geyser

Just realized that I can get the width variables for the window and the container it is in. It is in percent (because that is how I set it) but I can work with that.
by Jor'Mox
Sun Apr 28, 2013 2:59 am
Forum: Help Forum
Topic: Setting Word Wrap for MiniConsoles in Geyser
Replies: 18
Views: 4172

Setting Word Wrap for MiniConsoles in Geyser

I'm trying to transition some miniconsole handling code that I wrote myself to use Geyser, but I'm running into a problem. My code calculated the word wrap value dynamically based on the new size of the miniconsole, so that it fit perfectly every time. But since Geyser handles window resizing on its...
by Jor'Mox
Sat Apr 27, 2013 2:41 am
Forum: Help Forum
Topic: Help with statusbar label
Replies: 9
Views: 2217

Re: Help with statusbar label

Yeah, I have had issues with getting the text in labels to be the color I want it to be. Hence why I had to resort to what I posted above. You can also use <b></b>, <center></center>, and other html tags to make it behave if it isn't doing what you want. Again, not ideal, but better than not making ...
by Jor'Mox
Sat Apr 27, 2013 2:30 am
Forum: Help Forum
Topic: Help with statusbar label
Replies: 9
Views: 2217

Re: Help with statusbar label

You did try this first, right?
Code: [show] | [select all] lua
cecho(label_name, "plain text <red> red text <blue> blue text <reset> more plain text")
And that is what wasn't working?
by Jor'Mox
Sat Apr 27, 2013 2:16 am
Forum: Help Forum
Topic: Help with statusbar label
Replies: 9
Views: 2217

Re: Help with statusbar label

Ugly, but it gets the job done.
Code: [show] | [select all] lua
echo(label_name, [[<font color="color_name">]] .. text .. [[</font>]])
by Jor'Mox
Fri Apr 26, 2013 9:10 pm
Forum: Help Forum
Topic: Inactive Scripts Still Running
Replies: 3
Views: 1060

Re: Inactive Scripts Still Running

I am disabling it by in checking the check box next to it. But I think I see the issue. I'm registering anonymous event handlers to avoid problems if someone changes the script names, but those are then handled independently from the script itself, and so are still getting called. So, there is no wa...
by Jor'Mox
Fri Apr 26, 2013 6:06 pm
Forum: Help Forum
Topic: Wait for something within a for loop
Replies: 4
Views: 1803

Re: Wait for something within a for loop

No, there is no waiting. You call the iterator function the first time, and it sets up things for your triggers and then ends. The triggers get triggered and call the iterator function, which makes it set things up for the next thing you are waiting for. The triggers act in the place of any sort of ...
by Jor'Mox
Fri Apr 26, 2013 3:02 pm
Forum: Help Forum
Topic: Inactive Scripts Still Running
Replies: 3
Views: 1060

Inactive Scripts Still Running

I have recently started transitioning my scripts to work with the event system in Mudlet in a more comprehensive manner, but I have run into a problem. When I disable a script, its event handler is still getting called when the event occurs, and everything seems to work as if the script were active....
by Jor'Mox
Fri Apr 26, 2013 1:49 pm
Forum: Help Forum
Topic: Wait for something within a for loop
Replies: 4
Views: 1803

Re: Wait for something within a for loop

You can't use a for loop for that, you need to set up an iterating function instead. Your for loop will run from start to finish before any of your triggers ever gets anything, so you need to set up a trigger, then wait. When it triggers, call your iterating function to set things up for the next th...