User Tag List

Thread: *Friday Feature - Macros & Alias*

Results 1 to 5 of 5
  1. #1 *Friday Feature - Macros & Alias* 
    Event Staff KrackenOne's Avatar
    Join Date
    Jun 2017
    Location
    Just over the horizon
    Posts
    435
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Let's talk about macros & aliases! Personally I use them all the time, and it was one of the hallmarks that set Star Wars Galaxies apart from all other MMOs when it launched. The macro uses command lines to perform certain functions at your discretion. We'll go over a few sample macros below. An alias is different but similar, a nice overview guide is located here . The biggest difference is that an alias is stored in a text file (alias.txt) in your SWG folder. You can just edit this file to make new aliases. Aliases must list all the commands on one line, and they can not be bound to hotkeys or toolbar buttons whereas a macro can. This can get very confusing really fast, so we are going to cover some simple ones here.


    Creating a macro

    Hit the ";" key to open your command browser. Then click on the "macro" tab. Click the "new macro" button.


    This will open the edit macro screen shown below. Name your macro whatever you would like. Additonally, you need to pick an icon. The macro shown here automatically sends your pet to attack the nearest possible enemy to your location every 15 seconds, and then tells it to return to you as well. This way it does not get too far away.


    /tar self;
    /ui action cycleTargetOutward;
    /ui action petToolbarSlot0;
    /pause 15;
    /ui action petToolbarSlot1;
    /pause 5;
    /macro petkill;

    The last line of the macro "/macro petkill", tells the macro to repeat itself. The command "/macro " tells the game to run the macro you have created.

    Binding the pet toolbar slots

    Hit the "O" key on your keyboard. This will open the options menu for you. Click on the word "keymap" on the bottom left. Then click on the word "all" on the top right. Scroll down about a 1/3 of the way and highlight the Pet Toolbar Slot 1(beast attack). While it is highlighted click the "rebind" button. A window will pop-up and then you select the key you want to fire Pet Toolbar Slot 1 (beast attack). Then click "ok".


    In the screenshot below the letter Q has been mapped to fire Pet Toolbar Slot 1 (beast attack), you can use any key you would like.



    Binding a macro

    Hit the "O" key on your keyboard. This will open the options menu for you. Click on the word "keymap" on the bottom left. Then click on the word "custom" on the top right. Here you can follow the same directions as above but find the macro you want to fire from the keyboard.


    Once you find the macro click the "rebind" button the screen below will open, then you select the key you want to fire the macro then click ok.


    Setting up the auto invite tell macro with an alias

    You need to create an entry in the alias.txt file to do so in your chat bar type the following and hit enter: /alias ll /invite

    Now we are going to create a macro called Invite2, replace the [your name] with your characters first name then delete the brackets.

    /ui action startChatReply;
    /ui action chatCursorHome;
    /ui action chatCursorRight;
    /ui action chatDelete;
    /ui action chatDelete;
    /ui action chatEnter;
    /tell [your name] Auto Invite is running....;
    /pause 8;
    /macro invite2;

    IF you're the group leader all anyone has to do is send you a tell and you will auto select them and send them a group invite. The /tell in the 3rd to last line sends yourself a message so you don't end up spamming the last person you sent an invite to.



    This is my personal favorite macro to use when the group leader, especially when waiting on that one person get there for the instance run. Have each person type /dance, then run this macro!!

    /bandflo 1;
    /pause 15;
    /bandflo 2;
    /pause 15;
    /bandflo 3;
    /pause 15;
    /bandflo 4;
    /pause 15;
    /bandflo 5;
    /pause 15;
    /bandflo 6;
    /pause 15;
    /bandflo 7;
    /pause 15;
    /bandflo 8;
    /pause 15;
    /macro bandflo;

    Another fun macro is the title changer, you can set it to change you title over and over! This one changes from Mayor of New Fire Haven (for me only), Beast Master, Guild Clown and then the Galactic Trickster

    /setCurrentSkillTitle citizenship_mayor;
    /pause 15;
    /setCurrentSkillTitle expertise_bm_beast_mastery_1;
    /pause 15;
    /setCurrentSkillTitle gr_guild_clown;
    /pause 15;
    /setCurrentSkillTitle halloween_badge_08;
    /pause 15;
    /macro titles;

    Below you'll see some of the most popular command lines used in macros and aliases from back on live!

    /ui action cycleTargetInward [Selects the next closest target from your current target]
    /ui action cycleTargetNext [Selects the next target]
    /ui action cycleTargetOutward [Selects the next farthest target from your current target]
    /ui action cycleTargetPrev [Selects the last target you had]
    /ui action toolbarSlot00 [Uses the current action assigned to tool bar slot 00 (00-23)]
    /uiselectdraftSchematic00 [Selects draft schematic 00, refers to a schematic slot in your data pad (00-99)]
    /pause 5; [Pauses the macro for 5 seconds (can replace with any number)]
    /nextcraftingstage [Advances your crafting session to the next option]
    /createPrototype [Tells the crafting station to create a prototype item]
    /ui action toolbarPaneNext [Shifts to your next tool bar]
    /ui action toolbarPane0 [Shifts to toolbar 0 (0-5)]
    /save [Saves the position of items in the house in which you're standing]
    /pickupall [Duh]
    /dropall [Drops the entire contents of your inventory in a house (except equipped, appearance, and unique items; also no-trade items if it is not your structure)]
    /restore [restores the position of the items from the /save command in the house you are standing if the exact items used are in that structure]
    /ui action chatRoomBrowser
    /ui action chatRoomWho
    /ui action conversationResponse0
    /ui action conversationResponse1
    /ui action conversationResponse2
    /ui action conversationResponse3
    /ui action conversationResponse4
    /ui action conversationResponse5
    /ui action conversationStart
    /ui action conversationStop
    /ui action cycleTargetInward
    /ui action cycleTargetNext
    /ui action cycleTargetOutward
    /ui action cycleTargetPrev
    /ui action dataPad
    /ui action defaultButton
    /ui action missionBrowser
    /ui action missionCreation
    /ui action missionDetails
    /ui action radarIconify
    /ui action radarMaximize
    /ui action radarRangeDecrease
    /ui action radarRangeIncrease
    /ui action radarUpdate
    /ui action commandBrowser
    /ui action startChat
    /ui action startChatGroup
    /ui action startChatTell
    /ui action startChatReply
    /ui action startChatCommand
    /ui action showSurvey
    /ui action permissionList
    /ui action targetsClearAll
    /ui action targetsClearSelected
    /ui action targetsIconify
    /ui action targetsNext
    /ui action targetsPrev
    /ui action toggleChatBubblesMinimized
    /ui action chatBubblesClear
    /ui action toggleHud
    /ui action toolbarPaneNext
    /ui action toolbarPanePrev
    /ui action toolbarPane00; [Where 00 corresponds to Pane 1. Count 1-6 as 00-05]
    /ui action toolbarSlot00; [Where 00 corresponds to F1. Count 1-24 F and Shift F as 00-23]
    /ui action pointerToggleUp
    /ui action pointerToggleDown
    /ui action toggleObjectNamesUp
    /ui action toggleObjectNamesDown
    /ui action cycleTargetGroupPrev
    /ui action cycleTargetGroupNext
    /ui action targetSelf
    /ui action targetGroup0
    /ui action targetGroup1
    /ui action targetGroup2
    /ui action targetGroup3
    /ui action targetGroup4
    /ui action targetGroup5
    /ui action targetGroup6
    /ui action targetGroup7
    /ui action examine
    /ui action terminalAuctionUse
    /ui action vendorUse
    /ui action imagedesign
    /ui action planetMap
    /ui action netStatus
    /ui action untarget
    /ui action defaultAction
    /ui action radialMenu
    /ui action chatFontBigger
    /ui action chatFontSmaller
    /ui action chatCopy
    /ui action chatCut
    /ui action chatPaste
    /ui action survey
    /ui action getSample

    Hopefully this helps you all that have wondered what a macro or alias was or how to write them!

    Reply With Quote  
     

  2. #2 Re: *Friday Feature - Macros & Alias* 
    Player
    Join Date
    Jun 2017
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice found some helpfull info in there
    Reply With Quote  
     

  3. #3 Re: *Friday Feature - Macros & Alias* 
    Galactic Senator


    VashinKarr's Avatar
    Join Date
    Feb 2017
    Location
    USA
    Posts
    461
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Very detailed guide! Have never seen some of these before. Thank you
    https://swglegends.com/forums/showth...ick-This/page2
    Click Here to find out more about the Karr Foundation and how it can help you!
    Reply With Quote  
     

  4. #4 Re: *Friday Feature - Macros & Alias* 
    Munitions Senator ScrubyMcBubble's Avatar
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    79
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    This listing is much more practical than some of the old full command lists. Bookmarked! Thanks for this write up.
    Reply With Quote  
     

  5. #5 Re: *Friday Feature - Macros & Alias* 
    Event Staff KrackenOne's Avatar
    Join Date
    Jun 2017
    Location
    Just over the horizon
    Posts
    435
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ScrubyMcBubble View Post
    This listing is much more practical than some of the old full command lists. Bookmarked! Thanks for this write up.
    You're welcome!
    Reply With Quote  
     

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •