wuduz游戏站

 找回密码
 注册
搜索
无度传奇145z游戏站745v奇迹网
查看: 998|回复: 0
打印 上一主题 下一主题

[技术教程] 传奇NPC支持自定义字符与数字功能

跳转到指定楼层
楼主
发表于 2022-11-4 16:38:36 |只看该作者 |倒序浏览
介绍:
   @@InPutInteger(X) 针对个人数字变量M操作 (X)取值范围:数字(0~99)
   @@InPutString(X) 针对个人字符变量S操作 (X)取值范围:数字(0~99)
   @@InPutString 若输入字符包含于过滤列表(GuildRankNameFilter.txt)中.则跳到@IsInFilterList执行

注意:
    执行时必须加DelayGoto,DelayGoto能有效过滤多重操作,比如网络延迟时连续点NPC可以不断执行同一个节

示例:

;==========================================
(@@InPutInteger, @@InPutString)
[@Main]
<输入数字/@@InPutInteger5>
<输入字符/@@InPutString5>
<关闭/@Exit>
[@@InPutInteger5]
#If
CheckLevelEx > 0
#Act
DelayGoto 1 ~InPutInteger5
[~InPutInteger5]
#If
CheckLevelEX > 0
#Say
你输入的数字是:<$STR(M5)>
[@@InPutString5]
#If
CheckLevelEx > 0
#Act
DelayGoto 1 ~InPutString5
[~InPutString5]
#If
CheckLevelEX > 0
#Say
你输入的字符是:<$STR(S5)>
;示例脚本.仅简单表达意思.!
[@IsInFilterList]
#If
CheckLevelEx > 0
#Act
MessageBox 输入数据中包含了非法字符.请重新编辑
Goto @Main
Break

使用道具 举报

手机版|sitemap|txt|wuduz游戏站

GMT+8, 2026-6-11 04:13

回顶部