这两个命令? 终于成功了!!!我的方法:
在autoexec.cfg输入:
alias "talksw" "talkoff"
alias "talkoff" "alias talksw talkon;-voicerecord"
alias "talkon" "alias talksw talkoff;+voicerecord"
bind "capslock" "talksw"
然后在config.cfg输入:bind "capslock" "talksw"
最好在cstrike\gfx\shell\kb_def.lst 输入:
"capslock" "talksw"
成功了!!谢谢BerinG!!!! ^_^,我刚刚正在试验,时间长了,alias绑定的命令是要输入在autoexec里面,我忘了,谢谢homework提醒。好长时间没有写脚本了,不好意思。 alias "开关" "关闭"
alias "关闭" "alias 开关 打开;关闭的命令"
alias "打开" "alias 开关 关闭;打开的命令"
然后bind "键位" "开关"即可。
alias "talksw" "talkoff"
alias "talkoff" "alias talksw talkon;-voicerecord"
alias "talkon" "alias talksw talkoff;+voicerecord"
bind "capslock" "talksw"
本人无法理解以上代码(没有编程基础,呵~),特请教大侠!但如果将以上代码改为如下本人则可理解,能解释解释吗?
alias "开头" "关闭"
alias "关闭" "alias 开头 关闭;关闭的命令"
alias "打开" "alias 开关 打开;打开的命令"
然后bind "键位" "开关"即可
是否我的思路有问题?感谢! 好帖子,收藏了!
页:
1
[2]