哎!真是的,谁叫我是好人呢。。。哇哈哈哈~~
首先要明白这是个循环式脚本,主要是模拟上网的ping值,不过我觉得没什么实际效果!
alias sim_lag FL100
alias FL100 "fakelag 50;dvon;echo Your PING is 100 now..;dvoff;alias sim_lag FL200"
alias FL200 "fakelag 100;dvon;echo Your PING is 200 now..;dvoff;alias sim_lag FL300"
alias FL300 "fakelag 150;dvon;echo Your PING is 300 now..;dvoff;alias sim_lag FL400"
alias FL400 "fakelag 200;dvon;echo Your PING is 400 now..;dvoff;alias sim_lag FL0"
alias FL0 "fakelag 0;dvon;echo Your PING is 0 now;dvoff;alias sim_lag FL100"
bind "p" "sim_lag "
上面这段这个只要按“p”键就是切换显示你的ping值了(共5档)。fakelag是客户端 玩家 模拟Lag延迟
的参数,主要是它在起的作用!
下面这段段代码和上面一样的形式,只是少了屏幕的提示。功能是按v键即可实现网络状况图形的切换显示。你可以试试参考下!
alias graph "graph1"
alias graph1 "net_graph 1; alias graph graph2"
alias graph2 "net_graph 2; alias graph graph3"
alias graph3 "net_graph 3; alias graph graph4"
alias graph4 "net_graph 0; alias graph graph1"
然后bind "v" "graph"即可。
说了这么多累死拉~~
希望可以解决你的疑惑!!!不懂得发消息再说。。。