View Full Version : Name Highlighting script
Drew2
04-19-2004, 02:25 AM
So I'm in Houston and this computer has just been re-formated so I had to start from scratch and I need my name highlights or I'm afraid I'm going to have to esplode my house.
Anyone have the name.cmd script? It is my life source. I must have it and Taylir took it off her website (DAMN THAT WOMAN).
The script use is ".name (name) (color)" and it adds the name to your highlight list. It's very useful for adding name after name after name when you start all over. I NEED PLZ.
If no one has it I'll just use this thread to post it when I get back tomorrow for all of you to use and worship.
#Add People to Names Highlights
If_3 goto TooMany
IF_2 goto start
Echo Proper usage of this script is .name <person> <Color>
Echo For Example to make RatHunters name red type .Name RatHunter Red
Echo The Usable Colors Are DarkBlue, Green, Teal, Maroon,Purple, Brown, Grey, Blue, Lightgreen, SkyBlue, Pink, Yellow, and White.
Exit
START:
Pause 1
goto %2
matchwait
DarkBlue:
AddToHighlightNames string="%1" foreColor=2 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Green:
AddToHighlightNames string="%1" foreColor=3 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Teal:
AddToHighlightNames string="%1" foreColor=4 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
Goto end
Maroon:
AddToHighlightNames string="%1" foreColor=5 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Purple:
AddToHighlightNames string="%1" foreColor=6 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Brown:
AddToHighlightNames string="%1" foreColor=7 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Grey:
AddToHighlightNames string="%1" foreColor=8 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Blue:
AddToHighlightNames string="%1" foreColor=9 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Lightgreen:
AddToHighlightNames string="%1" foreColor=10 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
SkyBlue:
AddToHighlightNames string="%1" foreColor=11 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Red:
AddToHighlightNames string="%1" foreColor=12 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Pink:
AddToHighlightNames string="%1" foreColor=13 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Yellow:
AddToHighlightNames string="%1" foreColor=14 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
White:
AddToHighlightNames string="%1" foreColor=15 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
END:
ECHO Is %1 now highlighted the color you want? if not try again!
Exit
labelError:
Echo You did not choose a valid color, for the second variable
Echo The Usable Colors Are DarkBlue, Green, Teal, Maroon,Purple, Brown, Grey, Blue, Lightgreen, SkyBlue, Pink, Yellow, and White.
Echo Example .name RatHunter red
exit
Toomany:
Echo Too many Variables...you can only have 2 variables, the first being the name, the second being the color
Echo The Usable Colors Are DarkBlue, Green, Teal, Maroon,Purple, Brown, Grey, Blue, Lightgreen, SkyBlue, Pink, Yellow, and White.
Echo Example .name RatHunter Red
Drew2
04-19-2004, 02:38 AM
Ganalon, I will have your baby.
heh.
I've got my hands full with the one I have, you're welcome none the less.
Bobmuhthol
04-19-2004, 01:36 PM
That one kind of sucks.. it's slower than just going into the settings and typing in the highlights.
Get one that can handle more names.
TheEschaton
04-19-2004, 02:02 PM
Give me a few minutes, Bob, and I'll do it.
-TheE-
Latrinsorm
04-19-2004, 02:07 PM
#Add People to Names Highlights
IF_2 goto start
Echo Proper usage of this script is .name <Color> <person> <person> ...
Echo For Example to make RatHunters name red type .Name Red RatHunter
Echo The Usable Colors Are DarkBlue, Green, Teal, Maroon,Purple, Brown, Grey, Blue, Lightgreen, SkyBlue, Pink, Yellow, and White.
Exit
START:
save %1
start2:
Pause 1
goto %s
matchwait
DarkBlue:
AddToHighlightNames string="%2" foreColor=2 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Green:
AddToHighlightNames string="%2" foreColor=3 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Teal:
AddToHighlightNames string="%2" foreColor=4 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
Goto end
Maroon:
AddToHighlightNames string="%2" foreColor=5 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Purple:
AddToHighlightNames string="%2" foreColor=6 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Brown:
AddToHighlightNames string="%2" foreColor=7 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Grey:
AddToHighlightNames string="%2" foreColor=8 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Blue:
AddToHighlightNames string="%2" foreColor=9 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Lightgreen:
AddToHighlightNames string="%2" foreColor=10 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
SkyBlue:
AddToHighlightNames string="%2" foreColor=11 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Red:
AddToHighlightNames string="%2" foreColor=12 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Pink:
AddToHighlightNames string="%2" foreColor=13 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
Yellow:
AddToHighlightNames string="%2" foreColor=14 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
White:
AddToHighlightNames string="%2" foreColor=15 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
goto end
END:
shift
if_2 goto Start2
Exit
labelError:
Echo You did not choose a valid color, for the first variable
Echo The Usable Colors Are DarkBlue, Green, Teal, Maroon,Purple, Brown, Grey, Blue, Lightgreen, SkyBlue, Pink, Yellow, and White.
Echo Example .name red RatHunter
exit
Saw a kid in math class today with a shirt that said "w00t". What can I say, I was inspired.
edit: didn't fix the first echo
[Edited on 4-19-2004 by Latrinsorm]
TheEschaton
04-19-2004, 02:13 PM
This should do it. Keep in mind, I switched the syntax to .Name <color> <Name> from the original .name <Name> <color>
I haven't tested it in game, I just took Ganalon's and edited it. It should work, let me know if it doesn't.
-TheE-
------------------------------------------------------------
#Add People to Names Highlights
main:
IF_1 goto TooLittle
IF_2 goto start
Echo Proper usage of this script is .name <color> <person> <color> <person> etc.....up to 4 names at once.
Echo For Example to make RatHunters name red type .Name Red Rathunter
Echo The Usable Colors Are DarkBlue, Green, Teal, Maroon,Purple, Brown, Grey, Blue, Lightgreen, SkyBlue, Pink, Yellow, and White.
Exit
START:
Pause 1
goto %1
matchwait
DarkBlue:
SHIFT
AddToHighlightNames string="%1" foreColor=2 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Green:
SHIFT
AddToHighlightNames string="%1" foreColor=3 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Teal:
SHIFT
AddToHighlightNames string="%1" foreColor=4 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
Goto main
Maroon:
SHIFT
AddToHighlightNames string="%1" foreColor=5 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Purple:
SHIFT
AddToHighlightNames string="%1" foreColor=6 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Brown:
SHIFT
AddToHighlightNames string="%1" foreColor=7 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Grey:
SHIFT
AddToHighlightNames string="%1" foreColor=8 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Blue:
SHIFT
AddToHighlightNames string="%1" foreColor=9 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Lightgreen:
SHIFT
AddToHighlightNames string="%1" foreColor=10 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
SkyBlue:
SHIFT
AddToHighlightNames string="%1" foreColor=11 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Red:
SHIFT
AddToHighlightNames string="%1" foreColor=12 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Pink:
SHIFT
AddToHighlightNames string="%1" foreColor=13 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
Yellow:
SHIFT
AddToHighlightNames string="%1" foreColor=14 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
White:
SHIFT
AddToHighlightNames string="%1" foreColor=15 highlightEntireLine=False notOnWordBoundary=FALSE caseInsensitive=TRUE
ECHO Checking %1 for proper highlighting.
SHIFT
goto main
END:
Exit
labelError:
Echo You did not choose a valid color, for the second variable
Echo The Usable Colors Are DarkBlue, Green, Teal, Maroon,Purple, Brown, Grey, Blue, Lightgreen, SkyBlue, Pink, Yellow, and White.
Echo Example .name red Rathunter
exit
TooLittle:
Echo Too few Variables...you must have at least 2 variables, the first being the color, the second being the name
Echo The Usable Colors Are DarkBlue, Green, Teal, Maroon,Purple, Brown, Grey, Blue, Lightgreen, SkyBlue, Pink, Yellow, and White.
Echo Example .name Red Rathunter Green Orchunter SkyBlue Gnomehunter
exit
TheEschaton
04-19-2004, 02:15 PM
Yours sucks, Latrin, you need to SHIFT in the starting thing, after you save the color, so you have only the names on the parameter line, then change it to %1 in the highlighting strings. And in the END label, it should be IF_1, not IF_2.
Plus, yours only highlights many names the same color, mine highlights multiple names whatever color you want. Both have their function, I guess.
-TheE-
Latrinsorm
04-19-2004, 02:38 PM
If by "sucks" you mean "works like a charm", then yes, yes it does.
Both have their function, I guess.Yes, yours is a good example of what not to do. :D
I dare you to try mine out, and be in awe of it and its workingness.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.