|
我的redirect文件设置如下
// Redirection
sm_mode2 set l
sm_menu "Redirection\\y\\R{sm_mode2&l?ON:OFF}" "sm_mode2 {sm_mode2&l?remove:set} l"
localinfo mypw "1" // password for "setinfo _rr" which won't allow to redirect (i.e. admins)
localinfo maxppl 20 // number of ppl on which server will start redirecting
localinfo myip "218.16.125.243:27400" //address for redirection
sm_reg "SM_Connect l 2" "{playersnum<{I.maxppl}?#}{p.I._rr={I.mypw}?#}sm_clexec2 #{p.uid} \'echo \\'Redirecting to {I.myip}\\';connect {I.myip}\';sm_log \'{p.name}<{p.uid}><{p.authid}><{p.tm.gm.name}>\' redirecting (ip \'{I.myip}\')" "be"
但是不能用啊~功能失效~望边位高手能指点下~ |
|