Page 1 of 1

BlockDB to "-" variable

Posted: November 20th, 2012, 6:06 pm
by LiamRayStanley
We need a command like /ub (undo-block idk.) that is like /b, except it catches the last username that placed/removed the block when you block-info it. It is very nice when using undo area to just use /ua 20m - instead of the whole name.

so for example, I info a block with the cmd, and it says "guest2093" placed cobblestone last
It then sets the "-" variable to guest 2093's name.
Then I use /ua 20m - (which is alternative to /ua 20m OMGThisGuestHasALongNameAndImSemiDyselxic)

Re: BlockDB to "-" variable

Posted: November 22nd, 2012, 1:29 pm
by fragmer
I have considered having /BlockInfo (/b) assign last-used name to "-", but decided against it, to avoid inconsistent behavior. Right now "-" unambiguously means "last typed-in username", and I'd like to keep it that way.

Re: BlockDB to "-" variable

Posted: November 22nd, 2012, 2:17 pm
by Intertoothh
IF you going to implement it, maybe with a other '-' like '+' or something or '--'.
It would be great if /patrol also follows the nick.

I wont by typing any names anymore then, exept for chat :(

/join main
/static
/whoid
/pat
/
/f --
-- dont grief!
/uf --

We can then even make macro's to freeze, unfreeze etc etc.