Whatever happened to macros?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Julian
    Adept
    • Apr 2021
    • 122

    Whatever happened to macros?

    Back in the day, I used to be able to have a macro to target the nearest beastie, which I could use either from the command prompt, or from the targeting prompt when casting a spell. There were other things I found useful, but that was the big one.

    Why were macros removed?
  • Sky
    Veteran
    • Oct 2016
    • 2321

    #2
    AFAIK keybinds fully replace macros.

    bind: F1 -> paa'
    casts magic missile at the nearest mob

    'h' shoots arrows at the nearest monster

    if you inscribe rods you can make a keybind to zap those to the nearest monster, but i dont know how to do that.

    the ' command is the "nearest enemy" command.
    "i can take this dracolich"

    Comment

    • will_asher
      DaJAngband Maintainer
      • Apr 2007
      • 1124

      #3
      I recently discovered the tab button is a built in macro to fire default ammo at the nearest monster. (I wish it would target the currently targetted monster instead of the nearest monster.)
      Will_Asher
      aka LibraryAdventurer

      My old variant DaJAngband:
      http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)

      Comment

      • archolewa
        Swordsman
        • Feb 2019
        • 400

        #4
        Also, in the Roguelike keyset (not sure what it is in the normal keyset) Ctrl+V repeats your last command. Very handy when bombarding Gothmog with arrows of demon slaying.

        Comment

        • Julian
          Adept
          • Apr 2021
          • 122

          #5
          Originally posted by Sky
          AFAIK keybinds fully replace macros. .
          They do not; they are only used when the game is waiting at the command prompt. Macros just inserted a set of keystrokes into the input stream, and so were useful for targeting mid-command, among other things.


          'h' shoots arrows at the nearest monster
          It moves you east; I don't know what you're talking about. :-p

          if you inscribe rods you can make a keybind to zap those to the nearest monster, but i dont know how to do that.
          Make a keymap that maps to 'a1*t' if you want to zap the closest, and don't have 'use old target by default' set. (Or, I suppose, '*ta1')

          If you do have 'use old target'€™ set, I find it more useful to have a separate keymap to target the closest beastie, and keymaps that'€™ll just cast your attack spells. If you don't have a target set, it'€™ll give you the prompt, and that'€™s where I want my target command to be a macro. As it is, I have to type '*t'€™, like some sort of primitive caveman.
          Last edited by Julian; July 12, 2021, 02:57.

          Comment

          • ewert
            Knight
            • Jul 2009
            • 707

            #6
            Inscribing @[cmd][number], for those who did not know, will let you use that number to pick that item for that command.

            Some of my standards for example include @r0!d!r for my ?WoR, which means when I (r)ead a scroll I can press 0, and it will verify the action, or if I try to drop them.

            So for example keybind of ^D = z1 will use my Detection rod if that is inscribed with @z1 ...

            Comment

            • Pete Mack
              Prophet
              • Apr 2007
              • 6883

              #7
              ^D = @z1 for rod activation on ctrl-D. Or @a1 for theroguelike keymap.

              Comment

              • rizarefaldi
                Rookie
                • Jul 2021
                • 1

                #8
                Originally posted by Julian
                They do not; they are only used when the game is waiting at the command prompt. Macros just inserted a set of keystrokes into the input stream, and so were useful for targeting mid-command, among other things cara install windows 10




                It moves you east; I don't know what you're talking about. :-p



                Make a keymap that maps to 'a1*t' if you want to zap the closest, and don't have 'use old target by default' set. (Or, I suppose, '*ta1')

                If you do have 'use old target'€™ set, I find it more useful to have a separate keymap to target the closest beastie, and keymaps that'€™ll just cast your attack spells. If you don't have a target set, it'€™ll give you the prompt, and that'€™s where I want my target command to be a macro. As it is, I have to type '*t'€™, like some sort of primitive caveman.
                They don't? I thought keybinds fully replace macros

                Comment

                Working...
                😀
                😂
                🥰
                😘
                🤢
                😎
                😞
                😡
                👍
                👎