Search found 1093 matches

by Jor'Mox
Thu Mar 07, 2019 11:40 am
Forum: Scripts & Packages
Topic: Drag and Drop GUI Framework
Replies: 10
Views: 1842

Re: Drag and Drop GUI Framework

EDIT: See below.
by Jor'Mox
Thu Jan 24, 2019 5:59 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 369
Views: 58840

Re: Generic Mapping Script

So, to capture your prompt, I would do this: map prompt %(PowerLevel:<[%d%.]+b%|[%d%.]+b>%) If the "b" part of things can change, then you can replace each of the two 'b's with %a instead, so it will match any letter. Then, to capture the exits, I would take the Multi-Line exits trigger and modify i...
by Jor'Mox
Wed Jan 16, 2019 9:16 am
Forum: Help Forum
Topic: Pattern matching a variable
Replies: 8
Views: 1267

Re: Pattern matching a variable

What you would do is make a script, with the code like so: local highlight_strings = {"string one","string two","string three"} function do_highlight() local index for i,v in ipairs(highlight_strings) do index = 1 while selectString(v,index) > -1 do fg("red") index = index + 1 end end deselect() res...
by Jor'Mox
Wed Nov 28, 2018 9:06 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 369
Views: 58840

Re: Generic Mapping Script

While the original version of this script works with Mudlet 2.1, the current version does not. It uses numerous changes that have been made since as part of how it functions, including the error you noticed here. Fixing this particular error would be easy, but it would just lead you down a path of h...
by Jor'Mox
Thu Nov 15, 2018 12:31 pm
Forum: Scripts & Packages
Topic: Easy Auto Wrapping Console Class
Replies: 2
Views: 750

Re: Easy Auto Wrapping Console Class

Not to my knowledge, no. For a lot of use cases of miniConsoles, this is excessive, so it would definitely be something you would want as optional, not a built in part of normal function.
by Jor'Mox
Thu Nov 15, 2018 12:30 pm
Forum: Mudlet Development
Topic: Requesting Hotkey Freedom
Replies: 8
Views: 1063

Re: Requesting Hotkey Freedom

It's a typing game, by and large, you would think that most of the standard keys would be something you wouldn't want to turn into a hotkey... but that doesn't mean that there can't be specific exceptions where using them that way makes sense, even when working in a language that needs the key in qu...
by Jor'Mox
Sat Oct 27, 2018 3:48 pm
Forum: Help Forum
Topic: GMCP image display
Replies: 3
Views: 568

Re: GMCP image display

Yup, just make sure you check to see if the file needs to be downloaded, or if it is already available locally, and you should be good.
by Jor'Mox
Sat Oct 27, 2018 12:05 am
Forum: Help Forum
Topic: GMCP image display
Replies: 3
Views: 568

Re: GMCP image display

You likely just got a gray square because the file path for the image either wasn't right, or had \ as the directory separator, instead of / (which happens on Windows, but not other OSs, when you use getMudletHomeDir()). To make the image display correctly, you want to replace the backslashes with f...
by Jor'Mox
Thu Oct 25, 2018 8:16 pm
Forum: Scripts & Packages
Topic: An Easier Way to Make Colored Links
Replies: 0
Views: 777

An Easier Way to Make Colored Links

I wrote a function that uses cecho to write out text, with the added ability to put links in the middle of it (via cinsertLink), using a <link> tag. Just put the tags around whatever you want to make a link (as described in the comments at the top), and it will do it all the rest of the work for you...
by Jor'Mox
Fri Oct 19, 2018 12:54 pm
Forum: Help Forum
Topic: Table script among other stuff
Replies: 3
Views: 582

Re: Table script among other stuff

So, first, I STRONGLY recommend you take the time to use proper tab-indenting in your code. Your code above has two extra end statements that were very hard to spot because things weren't properly lined up. I'm going to guess that the reason you added them is due to some thought that you need a sepa...