Mudlet features and API requests

Jor'Mox
Posts: 1146
Joined: Wed Apr 03, 2013 2:19 am

Re: Mudlet features and API requests

Post by Jor'Mox »

Could a function be added to let you get the current text in the command line? Right now you can clear it, add to it, or just write over it. Having a way to see what is already there would add a good bit of extra functionality to those commands.

Also, it would make it possible to deal with hotkeys that still end up writing something to the command line even though they shouldn't.

phasma
Posts: 191
Joined: Sat Aug 03, 2013 7:00 pm
Discord: phasma#4694

Re: Mudlet features and API requests

Post by phasma »

getBorderSizeLeft() etc, please.

User avatar
Akaya
Posts: 414
Joined: Thu Apr 19, 2012 1:36 am

Re: Mudlet features and API requests

Post by Akaya »

a labelMouseReleaseEvent like sysWindowMouseReleaseEvent so you can track when a label is clicked and released.

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: Mudlet features and API requests

Post by chris »

Not that difficult, just need to map the existing events (onMouseDown, onMouseUp, onMouseMove, onMouseEnter, onMouseLeave methods). It would also enable user-friendly drag & drop labels.

User avatar
Akaya
Posts: 414
Joined: Thu Apr 19, 2012 1:36 am

Re: Mudlet features and API requests

Post by Akaya »

(onMouseDown, onMouseUp, onMouseMove, onMouseEnter, onMouseLeave methods)... these exist?

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

Re: Mudlet features and API requests

Post by Vadi »

Not for scripting yet.

User avatar
Belgarath
Posts: 232
Joined: Fri Jul 26, 2013 7:19 am
Discord: macjabeth#7149

Re: Mudlet features and API requests

Post by Belgarath »

A function to get the number of seconds left on a timer would be nice.

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

Re: Mudlet features and API requests

Post by Vadi »

For now, you can put a stopwatch into a timer to achieve that.

User avatar
Belgarath
Posts: 232
Joined: Fri Jul 26, 2013 7:19 am
Discord: macjabeth#7149

Re: Mudlet features and API requests

Post by Belgarath »

Could we have "Save Profile" also save map data? Months ago I was complaining about how my work would be lost after power-outages. You guys said to start saving the profile more. I have been. But now I just lost hours of working on my map, mapping different areas and connecting shit that takes a LONG time (no in-game maps to help with the layout). So... Yes, just have save profile save the map as well. Thank you.

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

Re: Mudlet features and API requests

Post by Vadi »

There is a saveMap() function you can bind to an alias to save and load different maps. Much more practical and applicable than using the save profile button.

Post Reply