Search found 13 matches

by Akaxi
Tue Sep 18, 2012 3:23 pm
Forum: Help Forum
Topic: Function erroneously set to nil
Replies: 2
Views: 3546

Re: Function erroneously set to nil

Sure - thanks for the quick reply. I wrote these functions when I was first learning Lua and haven't tidied them up, so apologies for the awkward implementation here and there. I don't see anything that'd cause this problem, though (and they work fine outside of this rare issue).

queue_special ...
by Akaxi
Tue Sep 18, 2012 1:54 pm
Forum: Help Forum
Topic: Function erroneously set to nil
Replies: 2
Views: 3546

Function erroneously set to nil

One my users has reported a problem where a function becomes nil; Mudlet's error output is:

<[string "function Alias129()..."]:2: attempt to call global 'queue_special' (a nil value)>

I only ever call the function (i.e., I don't have any code that intentionally sets it to nil), so I'm at a bit of ...
by Akaxi
Thu Jan 13, 2011 6:56 pm
Forum: Help Forum
Topic: Identify a trigger via Mudlet's numbering system?
Replies: 2
Views: 3058

Re: Identify a trigger via Mudlet's numbering system?

Problem solved, I realized that mudlet imports everything in the order it is contained in the trigger tree, until it hits the bug, whereupon it stops. So I could navigate directly to it after all.

I cross-posted this question elsewhere, and someone wrote up a very nice blurb about using lua's debug ...
by Akaxi
Wed Jan 12, 2011 4:04 pm
Forum: Help Forum
Topic: Identify a trigger via Mudlet's numbering system?
Replies: 2
Views: 3058

Identify a trigger via Mudlet's numbering system?

Hi,

I recently decided to revamp how a bunch of my information is displayed (instead of filtering some content to custom windows, with brief custom messages, I'm just going to reformat how it is displayed in the main window). Since this involves a lot of triggers, I don't want to make all the ...
by Akaxi
Tue Nov 16, 2010 8:57 pm
Forum: Help Forum
Topic: openUrl() nonfunctional?
Replies: 14
Views: 16511

Re: openUrl() nonfunctional?

Hrm, when I did the same example from above but with openURL() instead of openUrl(), I got a blank command prompt to open up (running WinXP).
by Akaxi
Tue Nov 16, 2010 7:23 pm
Forum: Help Forum
Topic: openUrl() nonfunctional?
Replies: 14
Views: 16511

Re: openUrl() nonfunctional?

Thanks as always for the quick reply. Is there any documentation for openURL()?
by Akaxi
Tue Nov 16, 2010 6:31 pm
Forum: Help Forum
Topic: openUrl() nonfunctional?
Replies: 14
Views: 16511

Re: openUrl() nonfunctional?

Hmm, thanks! My MUD has a little reminder that pops up occasionally, requesting that you vote for them on topmudsites.com. My plan was to partially (not totally! that is against the rules!) automate doing that by triggering off of that phrase such that the web browser automatically pops up, so I can ...
by Akaxi
Tue Nov 16, 2010 1:29 pm
Forum: Help Forum
Topic: openUrl() nonfunctional?
Replies: 14
Views: 16511

openUrl() nonfunctional?

Hi,

I tried a simple alias using one of the examples from the manual:

openUrl("http://google.com")

The following message from the "errors" console was output:

[ERROR:] object:<test> function:<Alias7>
<[string "function Alias7()..."]:3: attempt to call global 'openUrl' (a nil value)>


I'm ...
by Akaxi
Thu Oct 07, 2010 7:09 pm
Forum: Help Forum
Topic: Gagging output
Replies: 4
Views: 4566

Re: Gagging output

Thanks, both of you!

Unrelated question - is the echoLink() bug still active? (https://bugs.launchpad.net/mudlet/+bug/589706/+activity)
I'd like to format the text other than blue underlined in a miniconsole, but I don't see an obvious workaround and the "true" boolean argument seems to be bugged ...
by Akaxi
Thu Oct 07, 2010 5:20 pm
Forum: Help Forum
Topic: Gagging output
Replies: 4
Views: 4566

Gagging output

I have some code that pulls out text from the main display and puts it in a miniconsole. I can remove the text from the main display (using selectString(matches[1],1) and deleteLine() ), but I still end up generating another command line prompt.

For instance (this is in MKO), the main display has ...