Deleted User - 11531464
Guest
- Author
- fmthemaster, Mau Maria, PhilipsNostrum, Kirgonix, Diogo Rocha and Bernas
- Contributors
- N/A
- Quickbar Entry
-
javascript:
// name Attack Organizer with colors
// version 3.0
// author fmthemaster, Mau Maria (V3.0)
// author PhilipsNostrum and Kirgonix (V2.0)
// author Diogo Rocha and Bernas (V1.0)
//Runs in [screen=overview, screeen=place, screen=commands&mode=incomings]
var font_size = 8;
var attack_layout = 'column'; //Possible layouts: 'column', 'line', 'nothing'
//{Number: ['Command name', 'button name', 'button color', 'text color']}
var settings= {0:['[Dead]','D', 'green', 'white'], 1:['[Support]','S', 'lime', 'white'], 2:['[Dodged]','D!', 'orange', 'white'], 3:['[Dodge]','D', 'dorange', 'white'], 4:['[Reconquered]','R!', 'gray', 'white'], 5:['[Reconquer]','R', 'white', 'black'], 6:['[Sniped]','S!', 'lblue', 'black'], 7:['[Snipe]','S', 'blue', 'white'], 8:['[toFUBAR]','F', 'black', 'white'], 9:['[FUBARdone]','F!', 'white', 'black'], 10:['[Fake]','Fk', 'pink', 'black'], 11:[' | Stay Alert','A!', 'yellow', 'black']};
//{ColorName: ['theme color 1', 'theme color 2']}
var colors = {'red':['#e20606', '#b70707'], 'green':['#31c908', '#228c05'], 'blue':['#0d83dd', '#0860a3'], 'yellow':['#ffd91c', '#e8c30d'], 'orange':['#ef8b10', '#d3790a'], 'lblue':['#22e5db', '#0cd3c9'], 'lime':['#ffd400', '#ffd400'], 'white':['#ffffff', '#dbdbdb'], 'black':['#000000', '#2b2b2b'], 'gray':['#adb6c6', '#828891'], 'dorange':['#ff0000', '#ff0000'], 'pink':['#ff69b4', '#ff69b4']}
$.getScript('https://gistcdn.githack.com/filipemiguel97/076df367a5f0f3272abc90136749c121/raw/AttackRenamerColors.js')
- Public?
- Public
This script has been doing the rounds in the illegal Portuguese scripting community for ages, and it is almost part of defending meta on that server. However, it seems to respect all the rules for legal scripts so I decided to create a more user-friendly version and legalize it.
To use the script, simply run it in the incoming overview, or the village overview, or the rally point. If run from the village overview or the rally point, several buttons will appear, and you may click them to label the attack according to what strategy you should follow to defend. There are buttons for everything, from snipe to FUBR. You may also edit your own commands and colors by editing the variables' settings and colors. Feel free to post below your own quick bar version with your own buttons. This is one of those scripts that to get a hang of it you need to use it often.
Here is a video recorded by @- Pinheiro detailing how to use the script.
Feel free to post any questions below, and I will try to address them, although as the code is not mine and I do not fully comprehend the script.
Here is the script in English:
Here is the script in Portuguese:
To use the script, simply run it in the incoming overview, or the village overview, or the rally point. If run from the village overview or the rally point, several buttons will appear, and you may click them to label the attack according to what strategy you should follow to defend. There are buttons for everything, from snipe to FUBR. You may also edit your own commands and colors by editing the variables' settings and colors. Feel free to post below your own quick bar version with your own buttons. This is one of those scripts that to get a hang of it you need to use it often.
Here is a video recorded by @- Pinheiro detailing how to use the script.
Feel free to post any questions below, and I will try to address them, although as the code is not mine and I do not fully comprehend the script.
Here is the script in English:
JavaScript:
javascript:
// name Attack Organizer with colors
// version 3.0
// author fmthemaster, Mau Maria (V3.0)
// author PhilipsNostrum and Kirgonix (V2.0)
// author Diogo Rocha and Bernas (V1.0)
//Runs in [screen=overview, screeen=place, screen=commands&mode=incomings]
var font_size = 8;
var attack_layout = 'column'; //Possible layouts: 'column', 'line', 'nothing'
//{Number: ['Command name', 'button name', 'button color', 'text color']}
var settings= {0:['[Dead]','D', 'green', 'white'], 1:['[Support]','S', 'lime', 'white'], 2:['[Dodged]','D!', 'orange', 'white'], 3:['[Dodge]','D', 'dorange', 'white'], 4:['[Reconquered]','R!', 'gray', 'white'], 5:['[Reconquer]','R', 'white', 'black'], 6:['[Sniped]','S!', 'lblue', 'black'], 7:['[Snipe]','S', 'blue', 'white'], 8:['[toFUBR]','F', 'black', 'white'], 9:['[FUBRdone]','F!', 'white', 'black'], 10:['[Fake]','Fk', 'pink', 'black'], 11:[' | Stay Alert','A!', 'yellow', 'black']};
//{ColorName: ['theme color 1', 'theme color 2']}
var colors = {'red':['#e20606', '#b70707'], 'green':['#31c908', '#228c05'], 'blue':['#0d83dd', '#0860a3'], 'yellow':['#ffd91c', '#e8c30d'], 'orange':['#ef8b10', '#d3790a'], 'lblue':['#22e5db', '#0cd3c9'], 'lime':['#ffd400', '#ffd400'], 'white':['#ffffff', '#dbdbdb'], 'black':['#000000', '#2b2b2b'], 'gray':['#adb6c6', '#828891'], 'dorange':['#ff0000', '#ff0000'], 'pink':['#ff69b4', '#ff69b4']}
$.getScript('https://gistcdn.githack.com/filipemiguel97/076df367a5f0f3272abc90136749c121/raw/AttackRenamerColors.js')
Here is the script in Portuguese:
JavaScript:
javascript:
// name Attack Organizer with colors
// version 3.0
// author fmthemaster, Mau Maria (V3.0)
// author PhilipsNostrum and Kirgonix (V2.0)
// author Diogo Rocha and Bernas (V1.0)
//Runs in [screen=overview, screeen=place, screen=commands&mode=incomings]
var font_size = 8;
var attack_layout = 'column'; //Possible layouts: 'column', 'line', 'nothing'
//{Number: ['Command name', 'button name', 'button color', 'text color']}
var settings= {0:['[Morto]','D', 'green', 'white'], 1:['[Apoiar]','S', 'lime', 'white'], 2:['[Desviado]','D!', 'orange', 'white'], 3:['[Desviar]','D', 'dorange', 'white'], 4:['[Reconquistado]','R!', 'gray', 'white'], 5:['[Reconquistar]','R', 'white', 'black'], 6:['[Snipado]','S!', 'lblue', 'black'], 7:['[Snipar]','S', 'blue', 'white'], 8:['[Fubar]','F', 'black', 'white'], 9:['[Fubado]','F!', 'white', 'black'], 10:['[Fake]','Fk', 'pink', 'black'], 11:[' | Alerta','A!', 'yellow', 'black']};
//{ColorName: ['theme color 1', 'theme color 2']}
var colors = {'red':['#e20606', '#b70707'], 'green':['#31c908', '#228c05'], 'blue':['#0d83dd', '#0860a3'], 'yellow':['#ffd91c', '#e8c30d'], 'orange':['#ef8b10', '#d3790a'], 'lblue':['#22e5db', '#0cd3c9'], 'lime':['#ffd400', '#ffd400'], 'white':['#ffffff', '#dbdbdb'], 'black':['#000000', '#2b2b2b'], 'gray':['#adb6c6', '#828891'], 'dorange':['#ff0000', '#ff0000'], 'pink':['#ff69b4', '#ff69b4']}
$.getScript('https://gistcdn.githack.com/filipemiguel97/076df367a5f0f3272abc90136749c121/raw/AttackRenamerColors.js')
Last edited by a moderator:
Upvote
0