Search found 598 matches

by demonnic
Wed Jan 08, 2020 12:20 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: matches[n] faster then a local variable?
Replies: 2
Views: 307

Re: matches[n] faster then a local variable?

That being said there's good reason to use a local just for more readable code, too. Though not if you use variable names like 's' so much.
by demonnic
Wed Jan 08, 2020 12:20 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: matches[n] faster then a local variable?
Replies: 2
Views: 307

Re: matches[n] faster then a local variable?

the local is faster, generally speaking. But you're unlikely to see much of a real difference until you get to thousands of iterations of the loop.
by demonnic
Wed Jan 08, 2020 12:16 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: Fastest Trigger Types
Replies: 2
Views: 488

Re: Fastest Trigger Types

From fastest to slowest: Exact Match/Start of line are just about the same, as they both fail as you describe substring regex and I forget where the lua/prompt/color trigger types fit in with all that. The start of line and exact match are the fastest, followed by substring, Then really all the othe...
by demonnic
Thu Dec 26, 2019 9:21 pm
Forum: Help Forum
Topic: Handling Windows display scaling
Replies: 8
Views: 396

Re: Handling Windows display scaling

sadly, it does not look like this environment variable is available via os.execute or io.popen, both of which open a new cmd window. output of 'set' command being run doesn't have that variable name in it.
by demonnic
Thu Dec 26, 2019 5:56 pm
Forum: General Forum
Topic: VSCode snippets for coding Mudlet scripts
Replies: 3
Views: 481

Re: VSCode snippets for coding Mudlet scripts

Happy boxing day. Updated the repo with a file for table function snippets as well now.
by demonnic
Thu Dec 26, 2019 3:05 am
Forum: General Forum
Topic: VSCode snippets for coding Mudlet scripts
Replies: 3
Views: 481

Re: VSCode snippets for coding Mudlet scripts

Added snippets for utf8 and string.xxx functions. Includes the : form of find, gmatch, gsub, split, starts, sub, and ends
by demonnic
Mon Dec 23, 2019 3:01 am
Forum: General Forum
Topic: VSCode snippets for coding Mudlet scripts
Replies: 3
Views: 481

Re: VSCode snippets for coding Mudlet scripts

added snippets for creating new Geyser objects.

Image
by demonnic
Sat Dec 21, 2019 6:19 pm
Forum: General Forum
Topic: VSCode snippets for coding Mudlet scripts
Replies: 3
Views: 481

VSCode snippets for coding Mudlet scripts

I've spent a fair bit of time trying to get some tools and help setup for those who prefer to edit their Mudlet scripts in an external IDE or text editor for one reason or another. I was working on some Mudlet code of my own earlier this week when I decided I'd really like to add autocomplete for M...
by demonnic
Sat Dec 21, 2019 5:13 am
Forum: Mudlet Development
Topic: Does this exist? mudlet:// URL prefix that launches Mudlet and connect to a MUD?
Replies: 1
Views: 307

Re: Does this exist? mudlet:// URL prefix that launches Mudlet and connect to a MUD?

We have an issue open and some work done towards Mudlet being able to be registered to handled telnet:// links
https://github.com/Mudlet/Mudlet/issues/689
by demonnic
Fri Nov 29, 2019 2:14 am
Forum: Help Forum
Topic: Mudlet's script windows won't open
Replies: 7
Views: 1494

Re: Mudlet's script windows won't open

I've seen this behaviour before, primarily when you go from a multi-monitor setup with the script editor on the secondary monitor to a single monitor setup