沙老大每天自动领奖励脚本(有个自称绝无BUG的人发的),看到请你再指教一下,我想很多人需要这个脚本(和我一样不会玩变量的),但是都没弄好.我把脚本放上出现这样的提示:[脚本错误]脚本命令:LOADVARNPC名称:QManage地图:0(0:0)参数1:GLOBAL参数
沙老大每天自动领奖励脚本(有个自称绝无BUG的人发的),看到请你再指教一下,我想很多人需要这个脚本(和我一样不会玩变量的),但是都没弄好.我把脚本放上出现这样的提示:[脚本错误]脚本命令:LOADVARNPC名称:QManage地图:0(0:0)参数1:GLOBAL参数2:SHI参数3:..QuestDiary宠物系统下面附那位高手发的原文:------------------------------变量介绍---------------------------------------------------------------------------数字型自定义$HUMAN(个人变量)用途:可保存命令:VARIntegerHUMAN、CALCVARHUMAN、SAVEVARHUMAN、CHECKVARHUMAN数字型自定义$GLOBAL(全局变量)用途:可保存命令:VARIntegerGLOBAL、CALCVARGLOBAL、SAVEVARGLOBAL、CHECKVARGLOBAL字符型自定义$HUMAN(个人变量)用途:可保存命令:VARStringHUMAN、CALCVARHUMAN、SAVEVARHUMAN、CHECKVARHUMAN字符型自定义$GLOBAL(全局变量)用途:可保存命令:VARStringGLOBAL、CALCVARGLOBAL、SAVEVARGLOBAL、CHECKVARGLOBAL---------------------------变量使用说明---------------------------------------------------------------------------声明个人变量:VARIntegerHUMAN声明全局数字变量:VARIntegerGLOBAL声明全局字符变量:VARStringGLOBAL查看变量:$HUMAN(XXXX)查看全局变量:$GLOBAL(XXXX)全局变量于HUMAN换为GLOBAL读取变量:LOADVARHUMANXXXX变量保存文件路径.txt保存变量:SAVEVARHUMANXXXX变量保存文件路径.txt增加变量:CALCVARHUMANXXXX+X减少变量:CALCVARHUMANXXXX-X检查变量是否等于:CHECKVARHUMANXXXX=X检查变量是否大于:CHECKVARHUMANXXXXX检查变量是否小于:CHECKVARHUMANXXXXX-----------------------------------------------------------------------------------------------此变量比高级变量难得多.希望大家能好好记住上面变量,下面就以沙城主领奖做例子:(@@sendmsg)[@main]沙巴克是在$OWNERGUILD的管理下。受约束于$LORD城堡总黄金是:$CASTLEGOLD今天的收入是:$TODAYINCOME当前系统时间:$DATETIME╔┄┄┄┄╦┄┄┄┄╦┄┄┄┄╦┄┄┄┄╦┄┄┄┄╗║收回现金/@@withdrawal║贮藏现金/@@receipts║控制城门/@treatdoor║修理城堡/@repaircastle║城主公告/@@sendmsg║╠┄┄┄┄╬┄┄┄┄╬┄┄┄┄╬┄┄┄┄╬┄┄┄┄╣║聘用护卫/@hirearchers║防御方式/@commandorder║修改城名/@@castlename║领取奖励/@lingqu║去城门口/@qumenkou║\╚┄┄┄┄╩┄┄┄┄╩┄┄┄┄╩┄┄┄┄╩┄┄┄┄╝[@qumenkou]#if#actmapmove3676334[@@sendMsg]#ifcheckcastlegold?200000#acttakecastlegold200000SETSENDMSGFLAG#ELSEACTMESSAGEBOX城内资金不足,不要乱用钱。[@treatdoor]城门当前状态为:$CASTLEDOORSTATE╔┄┄┄┄┄┄╗╔┄┄┄┄┄┄╗╔┄┄┄┄┄┄╗┆『关闭城门/@closemaindoor』┆┆『打开城门/@openmaindoor』┆┆『返回上页/@main』┆╚┄┄┄┄┄┄╝╚┄┄┄┄┄┄╝╚┄┄┄┄┄┄╝[@openmaindoor]#ACTMESSAGEBOX城门已经打开。goto@mainbreak[@closem两只老虎外挂aindoor]#ACTMESSAGEBOX城门已经关闭。goto@mainbreak[@repaircastle]请选择要修理的位置?╔┄┄┄┄┄┄╗╔┄┄┄┄┄┄╗╔┄┄┄┄┄┄╗┆『修理城门/@repairdoor』┆┆『修理城墙/@repairwalls』┆┆『返回上页/@main』┆╚┄┄┄┄┄┄╝╚┄┄┄┄┄┄╝╚┄┄┄┄┄┄╝[@repairdoor]修理城门所需费用为:$REPAIRDOORGOLD金币。╔┄┄┄┄┄┄╗╔┄┄┄┄┄┄╗┆『修理城门/@repairdoornow』┆┆『返回上页/repaircastle』┆╚┄┄┄┄┄┄╝╚┄┄┄┄┄┄╝[@repairwalls]修理城墙所需费用为:$REPAIRWALLGOLD金币。╔┄┄┄┄┄┄┄╗╔┄┄┄┄┄┄┄╗┆『修理城墙一/@repairwallnow1』┆┆『修理城墙二/@repairwallnow2』┆╚┄┄┄┄┄┄┄╝╚┄┄┄┄┄┄┄╝╔┄┄┄┄┄┄┄╗╔┄┄┄┄┄┄┄╗┆『修理城墙三/@repairwallnow3』┆┆『返回上一页/@repaircastle』┆╚┄┄┄┄┄┄┄╝╚┄┄┄┄┄┄┄╝[@hirearchers]雇用弓箭手可保护城堡的安全,并维护城堡的治安。每个弓箭手的雇用费用为$ARCHERFEE金币。╔┄┄┄┄┬┄┄┄┄┬┄┄┄┄┬┄┄┄┄╗┊聘用一号/@hirearchernow1┊聘用二号/@hirearchernow2┊聘用三号/@hirearchernow3┊聘用四号/@hirearchernow4┊├┄┄┄┄┼┄┄┄┄┼┄┄┄┄┼┄┄┄┄┤┊聘用五号/@hirearchernow5┊聘用六号/@hirearchernow6┊聘用七号/@hirearchernow7┊聘用八号/@hirearchernow8┊├┄┄┄┄┼┄┄┄┄┼┄┄┄┄┼┄┄┄┄┼┄┄╗┊聘用九号/@hirearchernow9┊聘用十号/@hirearchernow10┊聘用十一/@hirearchernow11┊聘用十二/@hirearchernow12┊返回/@main┊╚┄┄┄┄┴┄┄┄┄┴┄┄┄┄┴┄┄┄┄┴┄┄╝[@commandorder]守卫们正在进行沙巴克的防御工作,你想改变他们?╔┄┄┄┄┬┄┄┄┄┬┄┄╗┊正常防守/@guardrule_normalnow┊进攻来者/@guardrule_pkattack┊返回/@main┊╚┄┄┄┄┴┄┄┄┄┴┄┄╝[@guardrule_normalnow]防守方式已经更改,守卫们已经目前处于正常防御状态.返回/@commandorder[@guardrule_pkattack]防守方式已经更改,守卫们已经目前处于对来犯者进攻状态.返回/@commandorder[@lingqu]城主可以在这里凭30点声望领取一把属于城主专用的武器该武器还附带吸血的属性,每天只可领取二把该武器带上后无法取下,死亡后消失,下线后掉落元宝奖励!注:守城期间被其它行会占领后再次抢回将重新计时!!查看占领时间/@查看占领时间查看奖励物品/@查看奖励物品领取守沙奖励/@领取奖励领取专用武器/@领取武器1返回首页/@main[@领取武器1]#IFCHECKCREDITPOINT29#ACTGOTO@领取武器#ELSEACTMESSAGEBOX作为一个城主.身上没几十点声望怎么行呢。记住了每天只可领二把武器GOTO@MAINbreak[@领取武器]#IFCHECKVARGLOBALSHI2#ACTCALCVARGLOBALSHI+1SAVEVARGLOBALSHI..QuestDiary宠物系统SHI.txtgive至尊天绝1CREDITPOINT-30MESSAGEBOX提示:今天已经发放了$GLOBAL(SHI)把武器GOTO@MAIN#ELSEACTMESSAGEBOX明天再来领吧,今天已经发放了$GLOBAL(SHI)把武器GOTO@MAINbreak[@领取奖励]#ifCASTLECHANGEDAY56CHECKGUILDLIST守沙记录56天.txt#ACTmessagebox占领天数56天的奖励已经领取!break#ifCASTLECHANGEDAY56#ACTCLEARNAMELIST守沙记录10天.txtCLEARNAMELIST守沙记录14天.txtCLEARNAMELIST守沙记录21天.txtCLEARNAMELIST守沙记录28天.txtCLEARNAMELIST守沙记录35天.txtCLEARNAMELIST守沙记录42天.txtCLEARNAMELIST守沙记录49天.txtCLEARNAMELIST守沙记录56天.txtADDGUILDLIST守沙记录56天.txtGAMEGOLD+1000goto@lingqubreak#ifCASTLECHANGEDAY49CHECKGUILDLIST守沙记录49天.txt#ACTmessagebox占领天数49天的奖励已经领取!break#ifCASTLECHANGEDAY49#ACTCLEARNAMELIST守沙记录10天.txtCLEARNAMELIST守沙记录14天.txtCLEARNAMELIST守沙记录21天.txtCLEARNAMELIST守沙记录28天.txtCLEARNAMELIST守沙记录35天.txtCLEARNAMELIST守沙记录42天.txtCLEARNAMELIST守沙记录49天.txtCLEARNAMELIST守沙记录56天.txtADDGUILDLIST守沙记录49天.txtGAMEGOLD+800goto@lingqubreak#ifCASTLECHANGEDAY42CHECKGUILDLIST守沙记录42天.txt#ACTmessagebox占领天数42天的奖励已经领取!break#ifCASTLECHANGEDAY42#ACTCLEARNAMELIST守沙记录10天.txtCLEARNAMELIST守沙记录14天.txtCLEARNAMELIST守沙记录21天.txtCLEARNAMELIST守沙记录28天.txtCLEARNAMELIST守沙记录35天.txtCLEARNAMELIST守沙记录42天.txtCLEARNAMELIST守沙记录49天.txtCLEARNAMELIST守沙记录56天.txtADDGUILDLIST守沙记录42天.txtGAMEGOLD+700goto@lingqubreak#ifCASTLECHANGEDAY35CHECKGUILDLIST守沙记录35天.txt#ACTmessagebox占领天数35天的奖励已经领取!break#ifCASTLECHANGEDAY35#ACTCLEARNAMELIST守沙记录10天.txtCLEARNAMELIST守沙记录14天.txtCLEARNAMELIST守沙记录21天.txtCLEARNAMELIST守沙记录28天.txtCLEARNAMELIST守沙记录35天.txtCLEARNAMELIST守沙记录42天.txtCLEARNAMELIST守沙记录49天.txtCLEARNAMELIST守沙记录56天.txtADDGUILDLIST守沙记录35天.txtGAMEGOLD+600goto@lingqubreak#ifCASTLECHANGEDAY28CHECKGUILDLIST守沙记录28天.txt#ACTmessagebox占领天数28天的奖励已经领取!break#ifCASTLECHANGEDAY28#ACTCLEARNAMELIST守沙记录10天.txtCLEARNAMELIST守沙记录14天.txtCLEARNAMELIST守沙记录21天.txtCLEARNAMELIST守沙记录28天.txtCLEARNAMELIST守沙记录35天.txtCLEARNAMELIST守沙记录42天.txtCLEARNAMELIST守沙记录49天.txtCLEARNAMELIST守沙记录56天.txtADDGUILDLIST守沙记录28天.txtGAMEGOLD+500goto@lingqubreak#ifCASTLECHANGEDAY21CHECKGUILDLIST守沙记录21天.txt#ACTmessagebox占领天数21天的奖励已经领取!break#ifCASTLECHANGEDAY21#ACTCLEARNAMELIST守沙记录10天.txtCLEARNAMELIST守沙记录14天.txtCLEARNAMELIST守沙记录21天.txtCLEARNAMELIST守沙记录28天.txtCLEARNAMELIST守沙记录35天.txtCLEARNAMELIST守沙记录42天.txtCLEARNAMELIST守沙记录49天.txtCLEARNAMELIST守沙记录56天.txtADDGUILDLIST守沙记录21天.txtGAMEGOLD+变态传奇sf发布网400goto@lingqubreak#ifCASTLECHANGEDAY14CHECKGUILDLIST守沙记录14天.txt#ACTmessagebox占领天数14天的奖励已经领取!break#ifCASTLECHANGEDAY14#ACTCLEARNAMELIST守沙记录10天.txtCLEARNAMELIST守沙记录14天.txtCLEARNAMELIST守沙记录21天.txtCLEARNAMELIST守沙记录28天.txtCLEARNAMELIST守沙记录35天.txtCLEARNAMELIST守沙记录42天.txtCLEARNAMELIST守沙记录49天.txtCLEARNAMELIST守沙记录56天.txtADDGUILDLIST守沙记录14天.txtGAMEGOLD+300goto@lingqubreak#ifCASTLECHANGEDAY10CHECKGUILDLIST守沙记录10天.txt#ACTmessagebox占领天数10天的奖励已经领取!break#ifCASTLECHANGEDAY10#ACTCLEARNAMELIST守沙记录10天.txtCLEARNAMELIST守沙记录14天.txtCLEARNAMELIST守沙记录21天.txtCLEARNAMELIST守沙记录28天.txtCLEARNAMELIST守沙记录35天.txtCLEARNAMELIST守沙记录42天.txtCLEARNAMELIST守沙记录49天.txtCLEARNAMELIST守沙记录56天.txtADDGUILDLIST守沙记录10天.txtGAMEGOLD+200goto@lingqubreak#elseactCLEARNAMELIST守沙记录10天.txtCLEARNAMELIST守沙记录14天.txtCLEARNAMELIST守沙记录21天.txtCLEARNAMELIST守沙记录28天.txtCLEARNAMELIST守沙记录35天.txtCLEARNAMELIST守沙记录42天.txtCLEARNAMELIST守沙记录49天.txtCLEARNAMELIST守沙记录56天.txtmessagebox对不起,占领天数未达到要求无法领取![@查看奖励物品]占领10天以上,奖励元宝200个占领14天以上,奖励元宝300个占领21天以上,奖励元宝400个占领28天以上,奖励元宝500个占领35天以上,奖励元宝600个占领42天以上,奖励元宝700个占领49天以上,奖励元宝800个占领56天以上,奖励元宝1000个返回/@lingqu[@查看占领时间]#ifCASTLECHANGEDAY61#ACTmessagebox当前已占领沙城:大于60天break#ifCASTLECHANGEDAY60#ACTmessagebox当前已占领沙城:60天break#ifCASTLECHANGEDAY59#ACTmessagebox当前已占领沙城:59天break#ifCASTLECHANGEDAY58#ACTmessagebox当前已占领沙城:58天break#ifCASTLECHANGEDAY57#ACTmessagebox当前已占领沙城:57天break#ifCASTLECHANGEDAY56#ACTmessagebox当前已占领沙城:56天break#ifCASTLECHANGEDAY55#ACTmessagebox当前已占领沙城:55天break#ifCASTLECHANGEDAY54#ACTmessagebox当前已占领沙城:54天break#ifCASTLECHANGEDAY53#ACTmessagebox当前已占领沙城:53天break#ifCASTLECHANGEDAY52#ACTmessagebox当前已占领沙城:52天break#ifCASTLECHANGEDAY51#ACTmessagebox当前已占领沙城:51天break#ifCASTLECHANGEDAY50#ACTmessagebox当前已占领沙城:50天break#ifCASTLECHANGEDAY49#ACTmessagebox当前已占领沙城:49天break#ifCASTLECHANGEDAY48#ACTmessagebox当前已占领沙城:48天break#ifCASTLECHANGEDAY47#ACTmessagebox当前已占领沙城:47天break#ifCASTLECHANGEDAY46#ACTmessagebox当前已占领沙城:46天break#ifCASTLECHANGEDAY45#ACTmessagebox当前已占领沙城:45天break#ifCASTLECHANGEDAY44#ACTmessagebox当前已占领沙城:44天break#ifCASTLECHANGEDAY43#ACTmessagebox当前已占领沙城:43天break#ifCASTLECHANGEDAY42#ACTmessagebox当前已占领沙城:42天break#ifCASTLECHANGEDAY41#ACTmessagebox当前已占领沙城:41天break#ifCASTLECHANGEDAY40#ACTmessagebox当前已占领沙城:40天break#ifCASTLECHANGEDAY39#ACTmessagebox当前已占领沙城:39天break#ifCASTLECHANGEDAY38#ACTmessagebox当前已占领沙城:38天break#ifCASTLECHANGEDAY37#ACTmessagebox当前已占领沙城:37天break#ifCASTLECHANGEDAY36#ACTmessagebox当前已占领沙城:36天break#ifCASTLECHANGEDAY35#ACTmessagebox当前已占领沙城:35天break#ifCASTLECHANGEDAY34#ACTmessagebox当前已占领沙城:34天break#ifCASTLECHANGEDAY33#ACTmessagebox当前已占领沙城:33天break#ifCASTLECHANGEDAY32#ACTmessagebox当前已占领沙城:32天break#ifCASTLECHANGEDAY31#ACTmessagebox当前已占领沙城:31天break#ifCASTLECHANGEDAY3冒险岛sf网0#ACTmessagebox当前已占领沙城:30天break#ifCASTLECHANGEDAY29#ACTmessagebox当前已占领沙城:29天break#ifCASTLECHANGEDAY28#ACTmessagebox当前已占领沙城:28天break#ifCASTLECHANGEDAY27#ACTmessagebox当前已占领沙城:27天break#ifCASTLECHANGEDAY26#ACTmessagebox当前已占领沙城:26天break#ifCASTLECHANGEDAY25#ACTmessagebox当前已占领沙城:25天break#ifCASTLECHANGEDAY24#ACTmessagebox当前已占领沙城:24天break#ifCASTLECHANGEDAY23#ACTmessagebox当前已占领沙城:23天break#ifCASTLECHANGEDAY22#ACTmessagebox当前已占领沙城:22天break#ifCASTLECHANGEDAY21#ACTmessagebox当前已占领沙城:21天break#ifCASTLECHANGEDAY20#ACTmessagebox当前已占领沙城:20天break#ifCASTLECHANGEDAY19#ACTmessagebox当前已占领沙城:19天break#ifCASTLECHANGEDAY18#ACTmessagebox当前已占领沙城:18天break#ifCASTLECHANGEDAY17#ACTmessagebox当前已占领沙城:17天break#ifCASTLECHANGEDAY16#ACTmessagebox当前已占领沙城:16天break#ifCASTLECHANGEDAY15#ACTmessagebox当前已占领沙城:15天break#ifCASTLECHANGEDAY14#ACTmessagebox当前已占领沙城:14天break#ifCASTLECHANGEDAY13#ACTmessagebox当前已占领沙城:13天break#ifCASTLECHANGEDAY12#ACTmessagebox当前已占领沙城:12天break#ifCASTLECHANGEDAY12#ACTmessagebox当前已占领沙城:12天break#ifCASTLECHANGEDAY12#ACTmessagebox当前已占领沙城:12天break#ifCASTLECHANGEDAY11#ACTmessagebox当前已占领沙城:11天break#ifCASTLECHANGEDAY10#ACTmessagebox当前已占领沙城:10天break#ifCASTLECHANGEDAY9#ACTmessagebox当前已占领沙城:9天break#ifCASTLECHANGEDAY8#ACTmessagebox当前已占领沙城:8天break#ifCASTLECHANGEDAY7#ACTmessagebox当前已占领沙城:7天break#ifCASTLECHANGEDAY6#ACTmessagebox当前已占领沙城:6天break#ifCASTLECHANGEDAY5#ACTmessagebox当前已占领沙城:5天break#ifCASTLECHANGEDAY4#ACTmessagebox当前已占领沙城:4天break#ifCASTLECHANGEDAY3#ACTmessagebox当前已占领沙城:3天break#ifCASTLECHANGEDAY2#ACTmessagebox当前已占领沙城:2天break#ifCASTLECHANGEDAY1#ACTmessagebox当前已占领沙城:1天#elseactmessagebox当前已占领沙城:0天以上是沙巴克大臣全部脚本:关键是这一部份:[@领取武器1]#IFCHECKCREDITPOINT29#ACTGOTO@领取武器#ELSEACTMESSAGEBOX作为一个城主.身上没几十点声望怎么行呢。记住了每天只可领二把武器GOTO@MAINbreak[@领取武器]#IFCHECKVARGLOBALSHI2#ACTCALCVARGLOBALSHI+1SAVEVARGLOBALSHI..QuestDiary宠物系统SHI.txtgive至尊天绝1CREDITPOINT-30MESSAGEBOX提示:今天已经发放了$GLOBAL(SHI)把武器GOTO@MAIN#ELSEACTMESSAGEBOX明天再来领吧,今天已经发放了$GLOBAL(SHI)把武器GOTO@MAINbreak然后在登陆脚本D:MirServerMir200EnvirMapQuest_defQManage.txt中加入:VARIntegerGLOBALSHILOADVARGLOBALSHI..QuestDiary宠物系统SHI.txt然后在机器人设置中加入:#AutoRunNPCRUNONDAY00:00@清除变量然后在机器人脚本中加入:[@清除变量]#IF#ACTCALCVARGLOBALSHI-2SAVEVARGLOBALSHI..QuestDiary宠物系统SHI.txt最后不要忘记了建立文件夹和文件哟……宠物系统SHI.txt这种设置绝无BUG,有些人利用个人变量set[111]1这种写法的每天每个人可以限制领取,但是把老大的位置换给别人,别人同样也能领取。
TAGS:今日新开七彩皓月传奇私服