Search found 114 matches

by Denarii
Mon Nov 29, 2010 2:33 pm
Forum: Help Forum
Topic: saving variables
Replies: 17
Views: 10940

Re: Weird errors

Process is a helper function for c/h/decho. It's contained in a table called Echos. Have you created your own Echos table?
by Denarii
Sun Nov 28, 2010 7:00 pm
Forum: Help Forum
Topic: Cecho Problem
Replies: 8
Views: 5119

Re: Cecho Problem

The original question wasn't about coloring the prompt, it was about cecho eating angle brackets. (I've also just committed a fix to this to LuaGlobal. In the next Mudlet release, cecho will ignore anything in angle brackets if it's not in the color table. If it is in the color table and you want it...
by Denarii
Sun Nov 28, 2010 6:42 pm
Forum: Help Forum
Topic: Help with playing sound.
Replies: 8
Views: 5508

Re: Help with playing sound.

sounds/x.wav or ./sounds/x.wav
by Denarii
Sun Nov 28, 2010 6:30 pm
Forum: Help Forum
Topic: Help with playing sound.
Replies: 8
Views: 5508

Re: Help with playing sound.

I just put the sound files into the mudlet install directory rather than the profile. Then I can just do playSoundFile("x.wav")
by Denarii
Sun Nov 28, 2010 6:06 pm
Forum: Help Forum
Topic: Cecho Problem
Replies: 8
Views: 5119

Re: Cecho Problem

Cecho does in fact have escaping using \, however \ is also an escape character in Lua. So if you're using a string in single or double quotes you'll need to use two.

Ex.
Code: [show] | [select all] lua
cecho("\\<green>test")
cecho('\\<green>test')
cecho([[\<green>test]])
by Denarii
Wed Nov 24, 2010 10:45 pm
Forum: Help Forum
Topic: openUrl() nonfunctional?
Replies: 14
Views: 12077

Re: openUrl() nonfunctional?

Code: [show] | [select all] lua
moveCursor(selectString(matches[2], 1), getLineNumber())
replace""
insertLink(matches[2], [[openURL("]]..matches[2]..[[")]], matches[2])
Should do it.
by Denarii
Sun Nov 21, 2010 10:20 pm
Forum: Help Forum
Topic: openUrl() nonfunctional?
Replies: 14
Views: 12077

Re: openUrl() nonfunctional?

Ah, I see it now.
by Denarii
Sun Nov 21, 2010 8:39 pm
Forum: Help Forum
Topic: openUrl() nonfunctional?
Replies: 14
Views: 12077

Re: openUrl() nonfunctional?

That.. makes no sense.
by Denarii
Sun Nov 21, 2010 3:20 pm
Forum: Help Forum
Topic: openUrl() nonfunctional?
Replies: 14
Views: 12077

Re: openUrl() nonfunctional?

Code: [show] | [select all] lua
echoLink(matches[2], [[openURL(]]..matches[2]..[[)]], matches[2])
by Denarii
Wed Nov 17, 2010 2:06 pm
Forum: Help Forum
Topic: I broke mudlet?
Replies: 4
Views: 3157

Re: I broke mudlet?

Process is a helper function for cecho. It's contained in a table called Echos. Did you create your own Echos table?