Search found 9 matches

by johndahlstrom
Thu Sep 04, 2014 12:46 pm
Forum: General Forum
Topic: Mudlet features and API requests
Replies: 535
Views: 706904

Re: Mudlet features and API requests

I have two GUI features I'd like to see: Being able to select multiple items in the leftside tree when you're in the script editor, for example shift+click or ctrl+click to select items. Being able to select multiple items when you're organizing your profile and move items into folders would save a ...
by johndahlstrom
Fri Feb 05, 2010 4:51 pm
Forum: Help Forum
Topic: Auto sipper for Achaea does not work
Replies: 14
Views: 10260

Re: Auto sipper for Achaea does not work

Since matches[1] is the whole line it matched on, you need to +1 on all the matches[#] you have in your script. currenthealth = matches[2] currentmana = matches[4] maxhealth = matches[3] maxmana = matches[5] siphealth = maxhealth-1000 sipmana = maxmana-1000 mosshealth = maxhealth-2000 mossmana = max...
by johndahlstrom
Tue Jan 26, 2010 4:25 pm
Forum: Help Forum
Topic: Auto sipper for Achaea does not work
Replies: 14
Views: 10260

Re: Auto sipper for Achaea does not work

You need to change the code into following: maxhealth = matches[3] maxmana = matches[5] siphealth = maxhealth-300 sipmana = maxmana-300 mosshealth = maxhealth-800 mossmana = maxmana-800 That's how that code translates into Lua. The pattern for the trigger is in regex, so you might have to change the...
by johndahlstrom
Thu Jan 21, 2010 11:31 pm
Forum: Help Forum
Topic: Problems related to the MUD Lithmeria
Replies: 4
Views: 3850

Re: Mudlet - Great promise...or plain crap?

Apparently there's a newline sent after the GA so the fix in Mudlet won't do any good either... But until that's fixed by Selkrener, here's a little fix for hiding that space for now:
by johndahlstrom
Sun Nov 29, 2009 1:56 pm
Forum: Scripts & Packages
Topic: Create miniconsoles with ease
Replies: 2
Views: 5131

Create miniconsoles with ease

You'll see this script in coming release of Mudlet. But for those bleeding edge people, here you go: -- Make a new console window with ease. The default background is black and text color white. -- -- Example: -- -- createConsole("myConsoleWindow", 8, 80, 20, 200, 400) -- -- This will crea...
by johndahlstrom
Fri Nov 27, 2009 12:11 am
Forum: Scripts & Packages
Topic: Gauge functions
Replies: 5
Views: 6152

Gauge functions

Here's some code I wrote a moment ago on request from the IRC channel. It'll make creating gauges easier for you. Hopefully! You'll see these in the next release in the LuaGlobal.lua file, but for the ones who want bleeding edge, here you go: -- Return the numbers of a RGB colour by using the names ...
by johndahlstrom
Thu Nov 26, 2009 11:07 am
Forum: Help Forum
Topic: Settings
Replies: 5
Views: 4275

Re: Settings

Always remember to write what operating system you're on and which version of Mudlet you're using ;)
by johndahlstrom
Wed Nov 25, 2009 10:47 am
Forum: Help Forum
Topic: Curing Remaining Affliction via List
Replies: 5
Views: 4792

Re: Curing Remaining Affliction via List

This simple example will show you how to make that IRE system: for _,v in pairs(affData) do if currentAffs[v.name] and balance then send(v.cure) balance = false end end affData = { {name = "paralysis", cure = "eat something"}, {name = "asthma", cure = "eat somethin...
by johndahlstrom
Wed Nov 18, 2009 1:43 am
Forum: General Forum
Topic: mxp
Replies: 13
Views: 13699

Re: mxp

I'm going to throw in my vote for MXP too. It's part of several MUDs, big and small, as mentioned already. Even IRE are implementing it in their engine now. If the general thought is "If you're clicking with your mouse, you ain't doing it right", I still think it should be included in the ...