Search found 14 matches
- Wed Jul 04, 2018 5:03 pm
- Forum: Help Forum
- Topic: Alias declaring a table
- Replies: 1
- Views: 2156
Alias declaring a table
I've currently got an alias that looks like such: ^srec (.+)$ I want it to do the following: local itemslist = matches[2] local storeditems = { "tin", "silver", "gold" } for _,v in ipairs(storeditems) do table.insert(itemslist, v) end display(itemslist) table.save(getMu...
- Tue Jul 03, 2018 4:38 am
- Forum: General Forum
- Topic: Buttons Help
- Replies: 2
- Views: 20537
Buttons Help
I've been moving over to mudlet from cmud so I'm trying to learn how to do things I normally would do. I love the use of buttons to enable things. I use one to enable my basher, a drop down to enable affliction methods, etc etc. Generally, on the basher button it'd do black with red when disabled an...
- Mon Jul 02, 2018 1:27 am
- Forum: General Forum
- Topic: decholink and table.insert
- Replies: 1
- Views: 16472
Re: decholink and table.insert
Nevermind, I got it working by using expandAlias and just using an alias. Works well enough.
- Sun Jul 01, 2018 9:21 pm
- Forum: General Forum
- Topic: decholink and table.insert
- Replies: 1
- Views: 16472
decholink and table.insert
I've been reading the forums and I found out how to make decholink send something but I want to be able to make it add to a table. Example Code: function killadd() MissingMobs = {"a giant bear", "a small octi", "your momma"} TestingMobs = {} for _,v in ipairs(MissingMob...
- Fri Mar 31, 2017 6:13 pm
- Forum: Help Forum
- Topic: tempTimers and using a function
- Replies: 5
- Views: 4090
Re: tempTimers and using a function
Outstanding, thank you, Vadi!
- Fri Mar 31, 2017 2:02 am
- Forum: Help Forum
- Topic: tempTimers and using a function
- Replies: 5
- Views: 4090
Re: tempTimers and using a function
Anyone else have an idea how to make this work?
- Fri Mar 24, 2017 10:14 pm
- Forum: Help Forum
- Topic: tempTimers and using a function
- Replies: 5
- Views: 4090
Re: tempTimers and using a function
remcolor() is a script function Trigger: You are removing the brown from your aura. I'd do: You are removing the (\w+) from your aura\. --Code for the trigger tempTimer(2, remcolor(matches[2])) So after 2 seconds.. I want it to run that script(remcolor) and match it to the color that was in the trig...
- Wed Mar 22, 2017 8:06 pm
- Forum: Help Forum
- Topic: tempTimers and using a function
- Replies: 5
- Views: 4090
tempTimers and using a function
I am attempting to use temptimers with a function.. I'd like to make the temptimer do something like this... function remcolor() if table.contains(colors, item) then table.remove(colors, table.index_of(colors, item)) echo("I've removed the " .. item .. " color.") end end --Below ...
- Fri Aug 05, 2016 3:08 pm
- Forum: Help Forum
- Topic: Windows 10 Scaling Issue
- Replies: 10
- Views: 7257
Re: Windows 10 Scaling Issue
Awesome, I'll give that a try tonight! Just would like a way to be able to see everything while I'm trying to learn how to use mudlet. I've used CMud for so long I'm quite used to its setup.
- Thu Aug 04, 2016 6:12 pm
- Forum: Help Forum
- Topic: Windows 10 Scaling Issue
- Replies: 10
- Views: 7257
Re: Windows 10 Scaling Issue
Really at a loss.
[Edited by moderator 2016-08-04 to put image into post!]