Mudlet Questions

by Rika

Back to Mechanic's Corner.

Anisu2011-01-30 18:47:25
QUOTE (Ilyssa @ Jan 30 2011, 07:45 PM) <{POST_SNAPBACK}>
What's the function-thing to see all the different colours in Mudlet? I thought it was displayColors(), but that doesn't seem to be working.

showColors()
Ilyssa2011-01-30 18:50:25
Thanks a ton! happy.gif
Vadi2011-01-30 20:24:42
Note that those are just ones defined for you - you can use any RGB color combination yourself, it's not limited to those in the list. (you can define new ones to add to the list as well!)
Sylphas2011-01-30 21:02:09
How would I highlight (Ays Andeystelis): in a rainbow? I assume I have to figure out how to actually move around in the buffer and do it letter by letter?
Rika2011-01-30 21:13:27
QUOTE (Sylphas @ Jan 31 2011, 10:02 AM) <{POST_SNAPBACK}>
How would I highlight (Ays Andeystelis): in a rainbow? I assume I have to figure out how to actually move around in the buffer and do it letter by letter?


I would just gag it and then cecho the entire thing in different colours.
Sylphas2011-01-30 21:17:33
QUOTE (rika @ Jan 30 2011, 04:13 PM) <{POST_SNAPBACK}>
I would just gag it and then cecho the entire thing in different colours.


I don't like that way, though.
Vadi2011-01-30 23:04:38
QUOTE (Sylphas @ Jan 30 2011, 04:02 PM) <{POST_SNAPBACK}>
How would I highlight (Ays Andeystelis): in a rainbow? I assume I have to figure out how to actually move around in the buffer and do it letter by letter?


Hm... no, in this case you'd select each letter and then highlight. selectString(what, which) <- which says which instance should be selected. So selectString("A", 2) will get the 2nd A.
Dynami2011-01-31 03:55:12
I am trying to put an illusion in a psionic combo, but the illusion includes the word and. Mudlet is treating the word and as a...function(?) and I don't know how to get it to treat it as a regular word. Is there a way to fix this?
Lilia2011-01-31 04:25:49
QUOTE (Dynami @ Jan 30 2011, 09:55 PM) <{POST_SNAPBACK}>
I am trying to put an illusion in a psionic combo, but the illusion includes the word and. Mudlet is treating the word and as a...function(?) and I don't know how to get it to treat it as a regular word. Is there a way to fix this?

If you're doing send("weave illusion this is the illusion") it shouldn't matter what words you use. If it's not in quotes it won't be sent to the game.
Dynami2011-01-31 05:07:07
QUOTE (Lilia @ Jan 30 2011, 11:25 PM) <{POST_SNAPBACK}>
If you're doing send("weave illusion this is the illusion") it shouldn't matter what words you use. If it's not in quotes it won't be sent to the game.

Aha! It was a spacing issue!
Dysolis2011-02-06 01:04:37
Hello

I have been able to make a working ignite and icewall alias but I haven't gotten the gust one to work just yet. I used send("cast gust "..target .. matches)
with the alias being. ^gst\\s+(\\w+)$. The output looks something like this, cast gust mee as you see the direction is in front of the target.I'm not sure how to separate the direction from the target. All help is appreciated thanks!
yendos2011-02-06 01:17:14
QUOTE (Dysolis @ Feb 5 2011, 08:04 PM) <{POST_SNAPBACK}>
Hello

I have been able to make a working ignite and icewall alias but I haven't gotten the gust one to work just yet. I used send("cast gust "..target .. matches)
with the alias being. ^gst\\s+(\\w+)$. The output looks something like this, cast gust mee as you see the direction is in front of the target.I'm not sure how to separate the direction from the target. All help is appreciated thanks!


Simply concatenating in a space between target and the match should do it, so try something like send("cast gust "..target .. " " ..matches)
Unknown2011-02-06 01:30:22
QUOTE (Dysolis @ Feb 5 2011, 08:04 PM) <{POST_SNAPBACK}>
Hello

I have been able to make a working ignite and icewall alias but I haven't gotten the gust one to work just yet. I used send("cast gust "..target .. matches)
with the alias being. ^gst\\s+(\\w+)$. The output looks something like this, cast gust mee as you see the direction is in front of the target.I'm not sure how to separate the direction from the target. All help is appreciated thanks!


If you include the space regex in the parenthesis then it will be included in the matches variable.

^gst(\\s\\w+)$
Dysolis2011-02-06 01:47:37
Thanks it worked!
Unknown2011-02-11 15:42:55
QUOTE (Kayte @ Jan 26 2011, 02:19 AM) <{POST_SNAPBACK}>
Is there a way to log all commands/triggers/other stuff? I want to have it fully coloured and stuff, and it's not.


Any help here?

Trying to log all command echoes, triggers, m&m system, and it's not. Looked in some of the settings, not entirely sure. I don't use a logging script.
Neos2011-02-11 15:57:08
QUOTE (Kayte @ Feb 11 2011, 10:42 AM) <{POST_SNAPBACK}>
Any help here?

Trying to log all command echoes, triggers, m&m system, and it's not. Looked in some of the settings, not entirely sure. I don't use a logging script.

Latest version does it, but it's kinda broken(might be just for me though) or you can use the screendump script someone posted on the mudlet forums.
Lehki2011-02-11 17:28:29
I've been playing around with Mudlet some so that I have an excuse to practice with Lua. Is there anywhere I can get an import of afflictions lines so I don't need to go and enter them all manually? <___<
Neos2011-02-11 17:35:45
QUOTE (Lehki @ Feb 11 2011, 12:28 PM) <{POST_SNAPBACK}>
I've been playing around with Mudlet some so that I have an excuse to practice with Lua. Is there anywhere I can get an import of afflictions lines so I don't need to go and enter them all manually? <___<

Up to date? Not that I know of.
I do have quite a few of them from Mantis that Havastus gave me, but it will be a while before I can get to them, but they're missing all the lines from anything after Aeros/Pyros I think.
Vadi2011-02-11 20:08:21
Lehki2011-02-11 20:34:16
QUOTE (Vadi @ Feb 11 2011, 03:08 PM) <{POST_SNAPBACK}>

It looks like he never added the diagnose or cure lines to it, just a number of Affmessages which could all be handled with 1 trigger, as he said. ):

I suppose adding a bunch of them by hand would be good for getting familiar with the Mudlet interface.