在songxin.lua文件里
function geta()
local w_cmd=GetVariable("myweapon")
local u_cmd=GetVariable("muweapon")
if w_cmd~=nil then
exe('get '..w_cmd)
exe('get '..w_cmd ..' from corpse')
end
if u_cmd~=nil then
exe('get '..u_cmd)
exe('get '..u_cmd ..' from corpse')
end
end