-
Notifications
You must be signed in to change notification settings - Fork 0
/
qlping.cfg
25 lines (19 loc) · 1.27 KB
/
qlping.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// QLping in-game script (http://userscripts.org/scripts/show/171037)
//Keys:
// "-" shows the ping list
// "=" changes the output method (echo, ping, say_team or say)
// "\" will re-ping all the servers
// attempt to output the ping list
bind - "seta _qlping_announce 0; seta _qlping_announce 1;"
// change the output method
bind = "vstr _qlping_output"
// refresh servers ping
bind \ "seta _qlping_refresh 0; seta _qlping_refresh 1;"
// These track the current output method and position in "cycling" through the methods.
seta _qlping_outputMethod "echo"
seta _qlping_output "vstr _qlping_output1"
// These are the output method states.
seta _qlping_output0 "seta _qlping_outputMethod echo; set _qlping_output vstr _qlping_output1; echo ^2[qlping] ^7output method is now ^5echo; print ^2[qlping] ^7output method is now ^5echo ^7(check the console!)"
seta _qlping_output1 "seta _qlping_outputMethod print; set _qlping_output vstr _qlping_output2; print ^2qlping: ^7output method is now ^5print"
seta _qlping_output2 "seta _qlping_outputMethod say_team; set _qlping_output vstr _qlping_output3; print ^2qlping: ^7output method is now ^5say_team"
seta _qlping_output3 "seta _qlping_outputMethod say; set _qlping_output vstr _qlping_output0; print ^2qlping: ^7output method is now ^5say"