Search found 48 matches

by hempa
Tue Mar 09, 2010 11:59 pm
Forum: General Forum
Topic: Linux generic installers test
Replies: 14
Views: 13596

Re: Linux generic installers test

Doing chmod on the file will only change it so that it is an executable file. Using a console, go to the directory where you have the file and do: ./mudlet-1.0.6-linux-x64-installer.bin This will start the installer. It is highly advisable that you remove your previous installation first, so you don...
by hempa
Wed Feb 24, 2010 12:55 pm
Forum: General Forum
Topic: Mudlet features and API requests
Replies: 535
Views: 652502

Re: Mudlet API requests

Functions to delete MiniConsoles and other user windows, including labels and gauges.
A function to list all current user windows/gauges/labels and their names.
by hempa
Wed Feb 24, 2010 12:29 pm
Forum: Help Forum
Topic: elist in IRE muds
Replies: 21
Views: 14383

Re: elist in IRE muds

Always, when adding the sips to the tables, make sure you put it in as a number if it is to be considered a number. tonumber(variable) will help you do that!
by hempa
Fri Feb 19, 2010 10:53 pm
Forum: Help Forum
Topic: elist in IRE muds
Replies: 21
Views: 14383

Re: elist in IRE muds

This snippet should do the trick for you: for ename, sips in pairs(elixers) do echo(string.format("%-26s",ename)) if sips >= 100 then fg("green") elseif sips >= 50 then fg("yellow") else fg("red") end echo(sips) resetFormat() end
by hempa
Thu Feb 18, 2010 11:25 am
Forum: Help Forum
Topic: help with who expression
Replies: 5
Views: 4206

Re: help with who expression

You need to set the first trigger to stay open until it hits the end. On the right hand, it's the "fire length". Set this to 100 or something on the gate trigger, and in the closing trigger use setTriggerStayOpen("nameOfGateTrigger",0) to make sure it won't fire further than that.
by hempa
Wed Feb 17, 2010 8:42 pm
Forum: Help Forum
Topic: help with who expression
Replies: 5
Views: 4206

Re: help with who expression

Can you post a screenshot with your triggers on it? I'll give it a look and see how it can be captured properly.
You can also make a replay and post it, and I'll look at it.
by hempa
Wed Feb 17, 2010 8:05 pm
Forum: Help Forum
Topic: help with who expression
Replies: 5
Views: 4206

Re: help with who expression

Is your trigger pattern .* and nothing else? Also, check to see so there are no spaces.. The regex to capture the line would be something like: ^\[(\d+)\s(\w+)\] (\w+) If you're going to do a .* trigger, you might as well use a "Lua function" trigger and put in "return true" in t...
by hempa
Wed Feb 17, 2010 2:24 pm
Forum: Scripts & Packages
Topic: A simple arithmetic function.
Replies: 3
Views: 4290

Re: A simple arithmetic function.

I did find a simpler way of doing this that uses the Lua system itself. It's not as fast if you should be doing bulk calculations, but should be enough for alias use.
arithmetic.xml
(409 Bytes) Downloaded 548 times
by hempa
Tue Feb 16, 2010 10:15 am
Forum: Help Forum
Topic: elist in IRE muds
Replies: 21
Views: 14383

Re: elist in IRE muds

@kaeus: of course, it's string.rep. I was just copying directly from the uploaded script and missed it :P
by hempa
Tue Feb 16, 2010 10:05 am
Forum: Scripts & Packages
Topic: Find alias ala ctrl+f
Replies: 14
Views: 15578

Re: Find alias ala ctrl+f

@Naftali: I'm doing some changes to this to be a more complete package. It will be using a mini console for the search results, cached results, and some API functions for use in your own scripts.

Work's progressing, Might have a first version by next week.