Search found 887 matches
- Tue Aug 01, 2023 5:42 pm
- Forum: Help Forum
- Topic: How to trigger split coins
- Replies: 3
- Views: 17254
Re: How to trigger split coins
You can make a perl regex trigger with the pattern "you get (\d+) coins from corpse" (without the "") and then in the script box at the bottom put in
- Mon Jul 24, 2023 2:05 pm
- Forum: General Forum
- Topic: Mudlet features and API requests
- Replies: 535
- Views: 723783
Re: Mudlet features and API requests
Mudlet has an IRC feature built in already which allows you to set server and room. It's currently a dropdown underneath the Discord icon in the toolbar, or help->irc in the menu. Defaults to irc.libera.net I believe and #Mudlet as the channel but it's all configurable under settings->chat. There ar...
- Sun Jul 23, 2023 8:02 pm
- Forum: General Forum
- Topic: Mudlet features and API requests
- Replies: 535
- Views: 723783
Re: Mudlet features and API requests
The LOTJ GUI package is maintained by the LOTJ admins, you should perhaps bring this up to them. Unfortunately every game is different and how it's capturing the data for its chat channels may be different from how other games are doing it so it's difficult for Mudlet to implement anything universal...
- Sun Jul 23, 2023 7:59 pm
- Forum: Howtos, FAQs and Tips & Tricks
- Topic: Is it possible to click text to copy it to input line?
- Replies: 1
- Views: 16043
Re: Is it possible to click text to copy it to input line?
The Mudlet command line will autocomplete using tab, so you can type the first few letters of something and hit tab to have Mudlet fill it in for you. I don't believe anyone has added a "copy to command line" via a package yet but it could certainly be done using https://wiki.mudlet.org/w/...
- Wed Jun 14, 2023 2:18 am
- Forum: Help Forum
- Topic: Question about tempTimer
- Replies: 2
- Views: 19277
Re: Question about tempTimer
the expression "t=t+1" doesn't return t inherently, it returns nil, so you do need to do the calculations outside of the function invocation. There is no built in way but the following function will do it function killAllTempTimers() local topIndex = tempTimer(0, function() end) for i = 1,...
- Tue Jun 13, 2023 4:17 pm
- Forum: Help Forum
- Topic: Buffer Setting?
- Replies: 5
- Views: 22640
Re: Buffer Setting?
Scripts apply only to the current profile in general, and if it's in a script as described above it will be run each time the profile is loaded up. That's how scripts in general work, I don't know that adding it to the API docs would be appropriate but I'll see if maybe I can spot a good place to ca...
- Fri Jun 02, 2023 8:55 pm
- Forum: Help Forum
- Topic: Timestamps
- Replies: 1
- Views: 18957
Re: Timestamps
There is no such hover-for-timestamp functionality built in to Mudlet, though it could maybe be replicated to an extent using scripting. There's also not currently any way to change the timestamp format which I'm aware of. It may be worth filing a feature request for custom timestamp formatting over...
- Tue May 23, 2023 1:28 pm
- Forum: Help Forum
- Topic: Could you help with the triggers for a multiple lines?
- Replies: 2
- Views: 18934
Re: Could you help with the triggers for a multiple lines?
I actually did a blog post about capturing data like this recently at https://demonnic.com/a-look-at-trigger-gates-in-mudlet/
And you may also want to have a look at http://www.youtube.com/watch?v=nwfjzRlgG9E&hd=1
And you may also want to have a look at http://www.youtube.com/watch?v=nwfjzRlgG9E&hd=1
- Fri May 19, 2023 2:39 am
- Forum: Help Forum
- Topic: how to use basic list or array to see whether an item is in the list?
- Replies: 3
- Views: 19609
Re: how to use basic list or array to see whether an item is in the list?
local fruit = { "apple", "orange", "banana" } if table.contains(fruit, item) then -- item is in the fruit table end -- could make a function for it if you may need to check frequently function isFruit(item) return table.contains(fruit, item) end test = isFruit("ap...
- Mon May 15, 2023 7:49 pm
- Forum: Howtos, FAQs and Tips & Tricks
- Topic: A look at trigger gates in Mudlet
- Replies: 1
- Views: 50898
A look at trigger gates in Mudlet
I have a new blog post up for anyone interested. https://demonnic.com/a-look-at-trigger-gates-in-mudlet/ This one goes over trigger gates using a recent concrete example from the Mudlet #help channel. Parses a text report on the mobs currently dominated, and goes over the triggers involved step by s...