传奇版本自定义变量功能,不再受固定几个变量限制,适用与LEGEND引擎
该变量支持增加、减少、脚本查看、检查大小等功能.该功能的开发突破了变量使用受限制.利用该变量可制作出超强功能脚本.
三个步骤:
1、首先要声明变量
2、读取变量
3、保存变量
[@varcontrol]
<声明变量/@newvarInteger> \
<查看变量/@viewvarInteger>\
<读取变量/@loadvarInteger> \
<保存变量/@s呵呵evarInteger> \
<增加变量/@calcvarinc>\
<减少变量/@calcvardec>\
<检查变量是否大于5/@checklarage5>\
<检查变量是否小于5/@checksmall5>\
<检查变量是否等于5/@checkequal5>[@calcvarinc]
#If
#Act
Calcvar HUMAN QQQQ + 5
Goto @varcontrol[@calcvardec]
#If
#Act
Calcvar HUMAN QQQQ – 5
Goto @varcontrol[@checkequal5]
#If
CHECKVAR HUMAN QQQQ = 5
#Act
SendMSG 7 等于5
Goto @varcontrol
#ElseAct
SendMSG 7 不等于5
Goto @varcontrol[@checklarage5]
#If
CHECKVAR HUMAN QQQQ > 5
#Act
SendMSG 7 大于5
Goto @varcontrol
#ElseAct
SendMSG 7 小于5
Goto @varcontrol[@checksmall5]
#If
CHECKVAR HUMAN QQQQ < 5
#Act
SendMSG 7 小于5
Goto @varcontrol
#ElseAct
SendMSG 7 大于5
Goto @varcontrol[@decInteger]
#Act
DEC QQQQ 1
SendMSG 7 <$HUMAN(QQQQ)>
Goto @varcontrol
[@addInteger]
#Act
INC QQQQ 1
SendMSG 7 <$HUMAN(QQQQ)>
Goto @varcontrol[@loadvarInteger]
#If
#Act
LOADVAR HUMAN QQQQ VarS呵呵e.txt
SendMSG 7 OK
Goto @varcontrol[@s呵呵evarInteger]
#If
#Act
SAVEVAR HUMAN QQQQ VarS呵呵e.txt
SendMSG 7 OK
Goto @varcontrol
[@viewvarInteger]
#Act
SendMSG 7 <$HUMAN(QQQQ)>
Goto @varcontrol[@newvarInteger]
#If
#Act
VAR Integer HUMAN QQQQ
SendMSG 7 OK
Goto @varcontrol
[@viewvarString]
<$HUMAN(QQQS)>本站所有资源来源于网络,本站未参与任何dump或hack活动。若有侵犯您的权益请提供相关证明致邮hljlife@vip.qq.com,我将及时撤下该资源。
All resources come from the network, this site does not participate in any dump or hack activities, if there is any violation of your rights, please provide relevant proof and email hljlife@vip.qq.com, I will promptly delete it.
如果下载资源文件后缀为.PDF,请删除后缀.PDF之后运行。
部分失效链接可通过文末填写有效邮箱到Email输入框留言索取。
免责声明:游戏资源均来自网络收集购买,不保证BUG,不保证病毒,不解答游戏问题(传奇服务端提供付费架设服务),为了安全,请尽量选择虚拟机运行服务端。