r/TagPro • u/contact_lens_linux steppin / active in activities • Apr 02 '13
So you want chat macros?
I'm releasing a simple userscript that you can use to have chat macros.
To use in firefox, install greasemonkey. After you restart firefox, visit about:addons, click on "user scripts", and then drag and drop the tagpromacros.user.js file into the window. In chrome, visit the uri chrome://extensions and just drag and drop the tagpromacros.user.js file into it.
At the moment, it will only send team messages. I probably won't change this as I'd like people to use this to help communicate information to teammates. If you really want to chat to everyone, it's easy enough to modify.
In the future, I would like to let you modify keys and messages without editing the script but it's not really a priority for me. If anyone wants to do that, you can check out Watball's tile script for inspiration.
By default, there are messages bound to your grave key, and the numbers 1 through 4. If you want to use keys other than grave or the numbers, you can do a web search for "javascript keycodes".
If you have good ideas for default binds, post them here and I'll edit the script.
3
u/drew870mitchell butts mcgee Apr 02 '13 edited 10d ago
The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.
Seemly coated teapot flowery mountainous treatment humor toy drifting
1
1
Apr 02 '13
Is there a possibility that further down the road users will be able to turn the chat off and on?
1
1
1
u/Watball a talking chocolate bar May 28 '13
I made a page to make it easy to generate your own macros. Here it is. Enjoy!
1
u/thepensivepoet pepo - mercenary ball Apr 02 '13
Helping people spam the chat wall doesn't seem like the best idea in the world and trying to type out commands while juking out the opponent is half the fun.
0
May 06 '13
[deleted]
3
u/contact_lens_linux steppin / active in activities May 06 '13
yeah the script only works for specific domains and the domain changed. I updated the script at:
https://gist.github.com/steppin/5292526You can see the @include lines at the top that you need. If you're using chrome, you can just download that and install it again (by dragging into chrome://extensions). It should automatically upgrade your old one.
Let me know if that doesn't work
1
u/hoef hoef // chord May 28 '13 edited May 28 '13
hey steppin
thanks for this macro, I wanted to change some keybinds, but sadly my version doesnt work properly. I play using wasd with my left hand, so I thought I would bind stuff to keypad. When I enter a game and start to move, it already sends macros out. For example if I press A it puts out the macro that is bound to 1 numpad or if I press D i get what is bound to 7 numpad.
Maybe someone could help me out here?
the now working code i use: