Command Macros

Please post your suggestions to the server, webpage and forum in this forum!
Post Reply
User avatar
jetoler
Premium 5
Location: Craftland
Posts: 114
Joined: Aug 29, 2014
Last login: 6 years ago
Played: 667 hours
Blocks Mined: 313,527
Achievements: 91
Contact:

Command Macros

Post by jetoler » Fri Feb 12, 2016 12:41 am

So, I was hoping of a thing that I can possibly be added. I'd like to call them command macros. They're like the macros in the controls but instead of pushing a button on your keyboard, you type in a custom command. For example, maybe I decided to make a macro where whenever i did /house1 it will teleport me to my house. or /house2 will tp me to my other house, or maybe /shopad will advertise my shop in chat.
"An eye for an eye ends up making the whole world blind"

User avatar
Handyman
Premium 6
Location: Westland
Accountname: handman1991
Posts: 1574
Joined: Mar 20, 2011
Last login: 5 years ago
Played: 2,219 hours
Blocks Mined: 733,406
Achievements: 126

Re: Command Macros

Post by Handyman » Fri Feb 12, 2016 6:22 am

Isn't it already possible add commands to macros? Then it is just easier to add for the example /warp house2 to a key.
-Joined 20 march 2011-
-Longest Playtime until 1947 hours-

User avatar
nickmcski
Site Admin
Premium 6
Location: Calgary, Canada
Posts: 1893
Joined: Aug 26, 2011
Last login: 2 months ago
Played: 4,296 hours
Blocks Mined: 576,291
Achievements: 170
Contact:

Re: Command Macros

Post by nickmcski » Fri Feb 12, 2016 7:27 am

Are you talking about macros or command aliases?
Contributor to the craftland wiki http://wiki.craftland.org/wiki
Craftland coder.
3500+ Hours played
2500+ Hours as a Craftland admin.

User avatar
TheLegendJet
Banned
Premium 6
Posts: 296
Joined: Aug 26, 2012
Last login: 7 years ago
Played: 5,065 hours
Blocks Mined: 18,655,974
Achievements: 233

Re: Command Macros

Post by TheLegendJet » Fri Feb 12, 2016 9:35 am

nickmcski wrote:Are you talking about macros or command aliases?
The way I understood it, was: Macros use a defined Key to activate, he wants a command that does the same, so...

Macro set on 'A'

Presses a = This is a Testmacro

Text line saved as /test
Writes /test = This is a Testmacro

Personally I think it's useless, since there's enough Keys on the Keyboard to add Macros to, if they are hit by accident, then they should be set on a less used Key or (like I do it) Deactivate the Numpad for Macros and activate it for the Numbers. That way you can't spam a command by accident.

User avatar
Arbr
Premium 6
Location: Upstate, New York
Posts: 400
Joined: Aug 12, 2014
Last login: 2 years ago
Played: 6,882 hours
Blocks Mined: 1,348,325
Achievements: 170
Contact:

Re: Command Macros

Post by Arbr » Fri Feb 12, 2016 1:38 pm

Handyman wrote:Isn't it already possible add commands to macros? Then it is just easier to add for the example /warp house2 to a key.

I think the suggestion was to make it so they can make their own custom commands that would work similar as a macro like

Currently:

./say OMG I like tomatoes - Press W

What is being Suggested to be able to do as an option:

./say OMG i like tomatoes - Type /omgtom

Pretty much same thing but allows them to just make it a command so that have the keys free and wont accidentally press like how i press my 4 corners keys accidentally all the time.


----

Honestly I love the idea. But only issue I can see is if someone would decide to overlap already existing commands like ./spawn or ./wikisay .

User avatar
pig001
Premium 6
Location: Scotland, UK
Posts: 989
Joined: Mar 31, 2013
Last login: 2 months ago
Played: 3,387 hours
Blocks Mined: 520,475
Achievements: 185

Re: Command Macros

Post by pig001 » Fri Feb 12, 2016 1:50 pm

./alias
Image

User avatar
RandoroMcDuck
Premium 6
Accountname: Randoro
Posts: 98
Joined: Jan 10, 2015
Last login: 3 months ago
Played: 3,883 hours
Blocks Mined: 16,608,171
Achievements: 186

Re: Command Macros

Post by RandoroMcDuck » Fri Feb 12, 2016 2:35 pm

When already on this, would be great if alias command took arguments like:
/alias wi /warp invite %0 %1
Doing /wi mywarp pig001 -> /warp invite mywarp pig001
just some random doro

User avatar
nickmcski
Site Admin
Premium 6
Location: Calgary, Canada
Posts: 1893
Joined: Aug 26, 2011
Last login: 2 months ago
Played: 4,296 hours
Blocks Mined: 576,291
Achievements: 170
Contact:

Re: Command Macros

Post by nickmcski » Fri Feb 12, 2016 3:07 pm

Randoro wrote:When already on this, would be great if alias command took arguments like:
/alias wi /warp invite %0 %1
Doing /wi mywarp pig001 -> /warp invite mywarp pig001
They do
Contributor to the craftland wiki http://wiki.craftland.org/wiki
Craftland coder.
3500+ Hours played
2500+ Hours as a Craftland admin.

User avatar
jetoler
Premium 5
Location: Craftland
Posts: 114
Joined: Aug 29, 2014
Last login: 6 years ago
Played: 667 hours
Blocks Mined: 313,527
Achievements: 91
Contact:

Re: Command Macros

Post by jetoler » Sat Feb 13, 2016 3:51 pm

Handyman wrote:Isn't it already possible add commands to macros? Then it is just easier to add for the example /warp house2 to a key.
Yea but if I did that I might accidentally push the key and waste 8 coins on tping to my house. And there's also a limited amount of keys, maybe if there were key combos like AL to do that.
"An eye for an eye ends up making the whole world blind"

User avatar
TheLegendJet
Banned
Premium 6
Posts: 296
Joined: Aug 26, 2012
Last login: 7 years ago
Played: 5,065 hours
Blocks Mined: 18,655,974
Achievements: 233

Re: Command Macros

Post by TheLegendJet » Sun Feb 14, 2016 12:05 am

Jetoluv wrote:
Handyman wrote:Isn't it already possible add commands to macros? Then it is just easier to add for the example /warp house2 to a key.
Yea but if I did that I might accidentally push the key and waste 8 coins on tping to my house. And there's also a limited amount of keys, maybe if there were key combos like AL to do that.
Jet wrote: [...] if they are hit by accident, then they should be set on a less used Key or (like I do it) Deactivate the Numpad for Macros and activate it for the Numbers. That way you can't spam a command by accident.
Do that,

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests