Feature Request: getBorder

Post Reply
User avatar
tsuujin
Posts: 695
Joined: Fri Feb 26, 2010 12:59 am
Location: California
Contact:

Feature Request: getBorder

Post by tsuujin » Tue Apr 20, 2010 5:08 pm

It would make scripting certain things much easier if we had access to retrieve the current border layout from Mudlet. I propose:

getBorders(): Returns a complete listing of the borders. usage would be: top,bottom,left,right = getBorders()
getBorderLeft(), getBorderRight(), getBorderTop(), getBorderBottom(): returns the numerical border of that side.
Last edited by tsuujin on Tue Apr 27, 2010 1:28 am, edited 1 time in total.

User avatar
Oneymus
Posts: 321
Joined: Thu Sep 17, 2009 5:24 am

Re: Feature Request: getBorder

Post by Oneymus » Tue Apr 27, 2010 12:47 am

Seconded.

User avatar
demonnic
Posts: 576
Joined: Sat Dec 05, 2009 3:19 pm

Re: Feature Request: getBorder

Post by demonnic » Thu Apr 29, 2010 8:30 pm

thirded

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

Re: Feature Request: getBorder

Post by Vadi » Thu Apr 29, 2010 8:40 pm

I don't think individual commands are necessary because you could simply use _, rightBorder, _, _ = getBorders(). It would save on code copy/pasting both in mudlet and manual!

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests