Search found 887 matches

by demonnic
Sat May 13, 2023 5:43 pm
Forum: Help Forum
Topic: Button Layout Bug?
Replies: 5
Views: 19073

Re: Button Layout Bug?

Those are being made in the script editor on the Button tab, I don't think they're being created by code.
by demonnic
Fri Apr 21, 2023 5:30 am
Forum: Scripts & Packages
Topic: Wait and Wait Line
Replies: 20
Views: 62225

Re: Wait and Wait Line

In general, Mudlet works hard not to break backwards compatibility.

I think the issue is your pattern is missing the closing parenthesis to end the capture group.
Code: [show] | [select all] lua
[[^You killed (.{0,4})]]
-- instead of
[[^You killed (.{0,4}]]
by demonnic
Sat Mar 18, 2023 2:14 pm
Forum: Help Forum
Topic: how to set a variable type as number?
Replies: 2
Views: 17626

Re: how to set a variable type as number?

dodge_current = tonumber(matches[2])
by demonnic
Thu Mar 09, 2023 6:27 pm
Forum: Howtos, FAQs and Tips & Tricks
Topic: Map room color based on info
Replies: 1
Views: 17769

Re: Map room color based on info

The color of the room is dictated by it's environment. See https://wiki.mudlet.org/w/Manual:Lua_Functions#setRoomEnv, https://wiki.mudlet.org/w/Manual:Lua_Functions#setCustomEnvColor, https://wiki.mudlet.org/w/Manual:Lua_Functions#getCustomEnvColorTable for some more information on how they are used...
by demonnic
Fri Feb 24, 2023 10:09 pm
Forum: Help Forum
Topic: Mudlet stopped working in Win10
Replies: 2
Views: 8102

Re: Mudlet stopped working in Win10

Try right-clicking on the minimized version shown when you highlight it on the taskbar and select 'maximize'

This most often occurs when you have more than one monitor in windows and then remove the monitor that Mudlet last ran on.
by demonnic
Tue Feb 07, 2023 5:21 am
Forum: Help Forum
Topic: Need Help with Mapper Please
Replies: 31
Views: 30499

Re: Need Help with Mapper Please

Would help if you provided some output from the game so we can see what it's trying to match against
by demonnic
Sat Feb 04, 2023 10:47 pm
Forum: Scripts & Packages
Topic: Start aliases from Mudlet Buttons
Replies: 3
Views: 21336

Re: Start aliases from Mudlet Buttons

Happy to help =)
by demonnic
Sat Feb 04, 2023 7:09 pm
Forum: Scripts & Packages
Topic: Start aliases from Mudlet Buttons
Replies: 3
Views: 21336

Re: Start aliases from Mudlet Buttons

You should put the code from the alias into a function in a Script, and then call that function from both the alias and the button. For example, if the alias does send("cast 'armor' " .. matches[2]) Then you could put a function like this in a script function castArmor(target) send("c...
by demonnic
Mon Jan 16, 2023 9:20 pm
Forum: Howtos, FAQs and Tips & Tricks
Topic: Timed Iterator: Coroutine Example
Replies: 0
Views: 31809

Timed Iterator: Coroutine Example

Coroutines are one of the aspects of Lua (and by extension Mudlet) that I feel aren't very well understood by our community as a whole, so when someone's question gave me a great example to explain them with, I decided to make a blog post out of it. You can find it over HERE . If you have any questi...
by demonnic
Sat Jan 14, 2023 8:43 pm
Forum: Scripts & Packages
Topic: CSSMan
Replies: 12
Views: 46102

Re: CSSMan

It's been folded into Geyser as Geyser.StyleSheet: https://wiki.mudlet.org/w/Manual:Geyser ... StyleSheet