找回密码
 注册
搜索
查看: 673|回复: 15

mush学习笔记

[复制链接]
门派:峨嵋派
发表于 2016-6-7 10:58:39 | 显示全部楼层 |阅读模式
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
门派:峨嵋派
发表于 2016-6-7 11:20:37 | 显示全部楼层
嗯 这就是iset 执行的函数吧
门派:峨嵋派
 楼主| 发表于 2016-6-7 14:21:57 | 显示全部楼层
function check_item_belt()
   exe('ask shitai about 皮腰带')
   check_bei(check_item_over)

修改的话,应该是要改/mushs/shujian.lua,这个里面没有要软剑。
门派:峨嵋派
 楼主| 发表于 2016-6-7 15:39:51 | 显示全部楼层
checkBags -->check_wiled -->checkBagsOver
门派:古墓派
发表于 2016-6-7 15:40:04 | 显示全部楼层
好孩子。好好学习天天向上
门派:不明
发表于 2016-6-7 16:10:22 | 显示全部楼层
检查就是胜利                                       
门派:峨嵋派
 楼主| 发表于 2016-6-7 16:12:43 | 显示全部楼层
start -->hp_dazuo_count -->check_food -->check_heal -->checkPrepare -->lostletter或者学习或者job
门派:不明
发表于 2016-6-7 22:41:59 | 显示全部楼层
很高端的样子                  
门派:铁掌帮
发表于 2016-6-8 07:35:08 | 显示全部楼层
好好学习,做好笔记,什么时候考试??         
门派:少林派
发表于 2016-6-8 10:07:23 | 显示全部楼层
这看的我头昏死了                    
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|书剑永恒MUD ( 闽ICP备14012032号|闽公网安备 35050202000162号 )

GMT+8, 2025-6-14 23:27 , Processed in 0.032834 second(s), 26 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表