Search found 1148 matches

by Jor'Mox
Thu Nov 15, 2018 12:30 pm
Forum: Mudlet Development
Topic: Requesting Hotkey Freedom
Replies: 8
Views: 11197

Re: Requesting Hotkey Freedom

It's a typing game, by and large, you would think that most of the standard keys would be something you wouldn't want to turn into a hotkey... but that doesn't mean that there can't be specific exceptions where using them that way makes sense, even when working in a language that needs the key in qu...
by Jor'Mox
Sat Oct 27, 2018 3:48 pm
Forum: Help Forum
Topic: GMCP image display
Replies: 3
Views: 3883

Re: GMCP image display

Yup, just make sure you check to see if the file needs to be downloaded, or if it is already available locally, and you should be good.
by Jor'Mox
Sat Oct 27, 2018 12:05 am
Forum: Help Forum
Topic: GMCP image display
Replies: 3
Views: 3883

Re: GMCP image display

You likely just got a gray square because the file path for the image either wasn't right, or had \ as the directory separator, instead of / (which happens on Windows, but not other OSs, when you use getMudletHomeDir()). To make the image display correctly, you want to replace the backslashes with f...
by Jor'Mox
Thu Oct 25, 2018 8:16 pm
Forum: Scripts & Packages
Topic: An Easier Way to Make Colored Links
Replies: 0
Views: 5818

An Easier Way to Make Colored Links

I wrote a function that uses cecho to write out text, with the added ability to put links in the middle of it (via cinsertLink), using a <link> tag. Just put the tags around whatever you want to make a link (as described in the comments at the top), and it will do it all the rest of the work for you...
by Jor'Mox
Fri Oct 19, 2018 12:54 pm
Forum: Help Forum
Topic: Table script among other stuff
Replies: 3
Views: 3825

Re: Table script among other stuff

So, first, I STRONGLY recommend you take the time to use proper tab-indenting in your code. Your code above has two extra end statements that were very hard to spot because things weren't properly lined up. I'm going to guess that the reason you added them is due to some thought that you need a sepa...
by Jor'Mox
Thu Oct 18, 2018 12:18 am
Forum: Help Forum
Topic: Achaea Runewarden runelore script + alias
Replies: 7
Views: 6353

Re: Achaea Runewarden runelore script + alias

Just replace ‘green’ with ‘blue’, ‘yellow’. I intionally put all the ink colors in mini tables, so each one is it’s own list that can have any number of colors you want. Just separate the colors with commas, and you should be good. Side note, don’t copy from this post, it was written on my phone and...
by Jor'Mox
Wed Oct 17, 2018 11:03 pm
Forum: Help Forum
Topic: Variable Timer?
Replies: 4
Views: 3803

Re: Variable Timer?

Yes.
by Jor'Mox
Wed Oct 17, 2018 8:46 pm
Forum: Help Forum
Topic: Achaea Runewarden runelore script + alias
Replies: 7
Views: 6353

Re: Achaea Runewarden runelore script + alias

Here is what I put together so far. Obviously the ink colors are wrong, and there is potential room for improvement. This would work with an alias using this pattern: ^r (\w+)(?: ([gtrmw]))?(?:| (\w+))$ And this code: writeRune(matches[2], matches[3], matches[4]) local runes = {ke = "kena"...
by Jor'Mox
Wed Oct 17, 2018 11:26 am
Forum: Help Forum
Topic: Achaea Runewarden runelore script + alias
Replies: 7
Views: 6353

Re: Achaea Runewarden runelore script + alias

So, in your example of usage, you don't have anything with ink color, but you mention it, and have it in your script... is there some specific ink color for each rune, or do you have to choose the ink you want to use each time?
by Jor'Mox
Wed Oct 17, 2018 11:06 am
Forum: Help Forum
Topic: Variable Timer?
Replies: 4
Views: 3803

Re: Variable Timer?

Sure, you just need to convert the string captured into a number, and use a tempTimer.