修改scripts/tcl/commands.tcl文件 首先找到 namespace eval WoWEmu { proc Command { args } { regsub -all -- {/}} $args {} args regsub -all -- {/{} $args {} args regsub -all -- {/]} $args {} args regsub -all -- {/[} $args {} args regsub -all -- {/$} $args {} args regsub -all -- {//} $args {} args set player [lindex $args 0] set command [lindex $args 1] set cargs [lrange $args 2 end] switch [string tolower $command] { 在其后加上 "home" { set ss [GetBindpoint $player] set m [lindex $ss 0] set x [lindex $ss 1] set y [lindex $ss 2] set z [lindex $ss 3] Teleport $player $m $x $y $z } 然后用GM帐号进输入 .retcl后就可以使用了 玩家在中输入.home,直接回到炉石绑定点
|