Page 2 of 54

Re: Mudlet API requests

Posted: Fri Jun 05, 2009 6:35 pm
by FormerZmudUser
Lua function to play sounds

[EDIT HEIKO: included]

Re: Mudlet API requests

Posted: Sat Jun 20, 2009 12:37 pm
by Vadi
A variable or a function with the location of the currently used profile.

[EDIT HEIKO: included as getMudletHomeDir()

Re: Mudlet API requests

Posted: Wed Jun 24, 2009 11:04 am
by Thylacine
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]

Re: Mudlet API requests

Posted: Wed Jun 24, 2009 9:41 pm
by Heiko
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.

Re: Mudlet API requests

Posted: Sat Jun 27, 2009 3:15 am
by kuei
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]

Re: Mudlet API requests

Posted: Tue Jul 21, 2009 11:30 pm
by Caled
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")

Re: Mudlet API requests

Posted: Sat Jul 25, 2009 1:29 pm
by Heiko
kunei: -> todo list
caled: -> todo list.

Re: Mudlet API requests

Posted: Wed Nov 18, 2009 12:04 am
by Vadi
deleteLabel()

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

Re: Mudlet API requests

Posted: Wed Nov 18, 2009 12:05 am
by Vadi
deleteAllLabels()

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

Re: Mudlet API requests

Posted: Wed Nov 18, 2009 4:27 am
by Vadi
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 :?