Mudlet features and API requests

FormerZmudUser
Posts: 13
Joined: Fri May 15, 2009 12:52 pm

Re: Mudlet API requests

Post by FormerZmudUser » Fri Jun 05, 2009 6:35 pm

Lua function to play sounds

[EDIT HEIKO: included]

User avatar
Vadi
Posts: 4660
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Sat Jun 20, 2009 12:37 pm

A variable or a function with the location of the currently used profile.

[EDIT HEIKO: included as getMudletHomeDir()

Thylacine
Posts: 28
Joined: Sun May 10, 2009 5:04 am

Re: Mudlet API requests

Post by Thylacine » Wed Jun 24, 2009 11:04 am

enableAlias()/disableAlias() functions. I'd guess they'd be almost identical to enableTrigger/disableTrigger. Might have a look if I get a minute...

[EDIT HEIKO: included]

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Mudlet API requests

Post by Heiko » Wed Jun 24, 2009 9:41 pm

The enableXXX/disableXXX functions have not been optimized yet and are very slow. I'll optimize them to work in constant time in one of the next releases. I'll add functions for alias too then.

Anyways, the enable/disable trigger functions shouldn't be used much either way as trigger chains offer a much better solution to the problem which is both much faster and less error prone.

kuei
Posts: 4
Joined: Sat Jun 27, 2009 3:05 am

Re: Mudlet API requests

Post by kuei » Sat Jun 27, 2009 3:15 am

A function to turn logging on and off.
A function to turn timestamp on and off.
It is hard to manually change logging and timestamp when someone attacks you. With functions you can program triggers, aliases and scripts to change the logging and timestamps.

[EDIT HEIKO: included]

Caled
Posts: 394
Joined: Thu Apr 09, 2009 4:45 am

Re: Mudlet API requests

Post by Caled » Tue Jul 21, 2009 11:30 pm

With the coming expansion to the state machine, Heiko, I was wondering if the following would possible:

Make sure badly written multi state triggers may be easily reset, so those of us that script by trial and error don't end up too frustrated when a trigger gets 'stuck' in the middle somewhere while we're still debugging it.

resetTrigger("Trigger name")

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Mudlet API requests

Post by Heiko » Sat Jul 25, 2009 1:29 pm

kunei: -> todo list
caled: -> todo list.

User avatar
Vadi
Posts: 4660
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Wed Nov 18, 2009 12:04 am

deleteLabel()

actually delete a label, remove from screen and forget it ever existed

User avatar
Vadi
Posts: 4660
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Wed Nov 18, 2009 12:05 am

deleteAllLabels()

useful for debugging/testing/creating labels. pita to restart mudlet atm to get rid of them :|

User avatar
Vadi
Posts: 4660
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Wed Nov 18, 2009 4:27 am

Vadi wrote:And an event to be notified when the window dimensions change, so that you can update the position of your windows automatically..
This is still a problem.

Resize Mudlet, and all your fancy labels get so screwey :?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest