|
function shujian_set()
checkBags()
exe('score;cha;hp')
local l_result
local l_tmp
local t
l_result=utils.inputbox ("你要学习的SKILLS(格式:force|shenyuan-gong|dodge|yanling-shenfa|sword|blade|parry)是?", "xuexiskill", GetVariable("xuexiskill"), "宋体" , "12")
if not isNil(l_result) then
SetVariable("xuexiskill",l_result)
Note ("学习设定完成")
print(GetVariable("xuexiskill"))
end
l_result=utils.inputbox ("你要领悟的SKILLS(格式:force|dodge|sword|blade|parry)是?", "lingwuskills", GetVariable("lingwuskills"), "宋体" , "12")
if not isNil(l_result) then
SetVariable("lingwuskills",l_result)
Note ("领悟设定完成")
print(GetVariable("lingwuskills"))
end
l_result=utils.inputbox ("你学习领悟时使用的加悟性武器是?", "learnweapon", GetVariable("learnweapon"), "宋体" , "12")
if not isNil(l_result) then
SetVariable("learnweapon",l_result)
end
l_result=utils.inputbox ("你的英文ID是?", "ID", GetVariable("id"), "宋体" , "12")
if l_result~=nil then
SetVariable("id",l_result)
else
DeleteVariable("id")
end
l_result=utils.inputbox ("你的密码是?", "Passwd", GetVariable("passwd"), "宋体" , "12")
if l_result~=nil then
SetVariable("passwd",l_result)
else
DeleteVariable("passwd")
end
l_result=utils.msgbox ( "是否打开记录窗口?", "FlagLog", "yesno", "?", 1 )
if l_result and l_result=="yes" then
flag.log="yes"
else
flag.log="no"
end
SetVariable("flaglog",flag.log)
l_result=utils.msgbox ( "是否自动学习及领悟", "XuexiLingwu", "yesno", "?", 1 )
if l_result and l_result=="yes" then
flag.autoxuexi=1
else
flag.autoxuexi=0
end
SetVariable("flagautoxuexi",flag.autoxuexi)
-- masterSet()
pfmSet()
weaponSet()
myUweapon()
jobSet()
drugSet()
Save()
ColourNote ("red","blue","请使用start命令启动机器人,stop命令停止机器人,iset设置机器人!")
end
|
|