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 »

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 »

Seconded.

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

Re: Feature Request: getBorder

Post by demonnic »

thirded

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

Re: Feature Request: getBorder

Post by Vadi »

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