#1: Name Selector Toggle Script Author: BECK,
You have posted in this forum: Fri Oct 26, 2012 11:13 am
This script will place a list of names under one key (Number Pad HOME/7 key), then each press cycles through them. It prints the current one on the screen and then you press the other key (Number Pad Up/8 key) to set it as your name.
choose any keys you want, this is just what I use
Code: ›
set gamename1 "set nameset set name FIRSTNAME; set nextname vstr gamename2; Echo current name: FIRSTNAME"
set gamename2 "set nameset set name SECONDNAME; set nextname vstr gamename3; Echo current name: SECONDNAME"
set gamename3 "set nameset set name THIRDNAME; set nextname vstr gamename1; Echo current name: THIRDNAME"
set nextname "vstr gamename1"
bind kp_uparrow "vstr nextname"
bind kp_home "+vstr nameset gamename1"
|
NOTE: The last name (gamename3) wraps back to the first name (gamename1). So if you add more, just make sure the last one wraps back to the first and it will continuously cycle.
Also - when setting the name (with kp_home), it will automatically go back to the beginning of the list.
Last edited by BECK on Wed Jun 25, 2014 8:19 am; edited 1 time in total
|