r/TagPro • u/-OmicroN- OmicroN • May 01 '14
[Userscript] (UPDATE: v2.1.0) Chat Enhancer
see original post for more details http://redd.it/24b5mq
get the latest version here http://redd.it/26tgj4
So we have an update, see the details below; in summary we now have auto complete of names while chatting and support for all the different servers.
Changelog
- [new] Autocomplete of usernames while typing ingame. (see variable
var autocomplete = true;) Setting totruewill autocomplete while you type, setting tofalsewill function like IRC in which case you press TAB to auto complete a name. Also note for each way you press the TAB key to cycle through names that start with whatever letters you've typed thus far. The autocomplete script is http://imankulov.github.io/asuggest/ so if you go there and scroll to the last 2 examples on the page that shows the auto complete on and requiring tab press methods if you want to see which one you prefer. - [new] Added support for the script to work on all the other servers, tangent, newcompte, and justletme.be
- [fix/new] Rather then setting the
fadeDelayto a higher value to 'fake' disable it, you can now set the value to 0 to disable it.
Screenshots
Tried taking some screens showing the two autocomplete ways you can see it a little.
http://i.gyazo.com/d2fc08f1a0c1e28a948c32059a865a4f.gif Autocomplete On
http://i.gyazo.com/bca5b778bf9a4b8b96a6bc3e5b50c38e.gif Autocomplete Off, pressing TAB after typing "for" and "ta"
Download
https://www.dropbox.com/s/jik4jkpzaos03ic/tagpro-chatenhancer2.1.0.user.js or
https://gist.github.com/omicr0n/779a4087eed53dbc819e
1
u/soundhaudegen Lord_Quas - Chorbit May 02 '14
Can you make this work with Gecko Tools?
1
u/DatBlizzard Some Ball -1 May 04 '14
I think there's a bug with the chat fading, chat wasn't fading at all (left fadeDelay at default 10000).
I'm not too familiar with javascript but I changed the fadeDelay if statements to fadeDelay != 0 in place of ! fadeDelay and now it works. I'm not sure if the space between ! and fadeDelay was causing a problem or what, but it works fine with the small fix. Great script by the way, it's amazingly useful.
3
u/neckhickeys4u Tinker Creek // Pi May 01 '14
I recommend the devs consider putting this into the next version. And recruit OmicroN to help.
0
u/[deleted] May 02 '14
[deleted] — view deleted comment
0
u/[deleted] May 02 '14
[deleted] — view deleted comment
0
u/[deleted] May 02 '14
[deleted] — view deleted comment