他也玩传奇 首页 传奇学院 引擎功能 996引擎 查看内容

传奇996引擎版本自定义输入框功能说明

2023-11-3 19:19| 发布者: 积木GM论坛| 查看: 1533| 评论: 0

摘要: 自定义输入框:Input|inputid=xx|type=xx|width=xx|height=xx|color=xx|size=xx|mincount=xx|maxcount=xx|errortips=xx-- -- Input 输入框-- -- inputid(0~9) 输入框ID 用于提交数据-- -- type 输入类型 0任意文本 1 ...
自定义输入框:
<Input|inputid=xx|type=xx|width=xx|height=xx|color=xx|size=xx|mincount=xx|maxcount=xx|errortips=xx>

-- -- Input 输入框
-- -- inputid(0~9) 输入框ID 用于提交数据
-- -- type 输入类型 0任意文本 1数字 2密码 3绝对值数字(输入09显示9)
-- -- place 空着时提醒文本
-- -- placecolor 空着时提醒文本颜色
-- -- width 输入框宽度
-- -- height 输入框高度
-- -- color 输入文本颜色
-- -- size 输入文本大小
-- -- mincount 最小输入字符数
-- -- maxcount 最大输入字符数
-- -- errortips 输入类型不符提醒 
-- -- isChatInput 开启输入内容敏感字符库过滤,适用喊话敏感字屏蔽(不配置默认为1开启状态)
-- -- onlyCh        输入仅能中文 1仅中文
-- -- submitInput (0~9) 提交输入框内容可以提交多个(格式:submitInput=3,4,5)
-- -- isNameInput  昵称敏感字检测(更加严格)
-- -- 输入的字符常量<$NPCINPUT(X)> X= 0~9

;例子
[@自定义输入框]
#IF
#ACT
#SAY
<Img|x=-503.0|y=-168.0|width=2000|height=2000|bg=1|img=public/1900000651_1.png>
<Img|x=-503.0|y=-168.0|width=2000|height=2000|img=public/1900000651_1.png>
<Img|x=-503.0|y=-168.0|width=2000|height=2000|img=public/1900000651_1.png>
<Img|x=446.0|y=179.0|img=public/lock_2.png>
<Text|x=484.0|y=230.0|color=255|size=40|text=限制登录>
<Img|x=486.0|y=294.0|img=public/1900000668.png>
<Img|x=486.0|y=294.0|img=public/1900000668.png>
<Img|x=486.0|y=294.0|img=public/1900000668.png>
<Input|x=492.0|y=297.0|width=145|height=25|size=18|errortips=1|mincount=6|color=255|maxcount=12|inputid=1|type=1>
<Button|x=513.0|y=341.0|nimg=public/1900000660.png|submitInput=1|pimg=public/1900000661.png|size=18|color=1003|text=密码登录|link=@sig>
<Text|x=25|y=20|color=255|size=22|text=Ver 1.0.0>
<Layout|width=2000|height=2000>

[@sig]
#IF
CHECKTEXTLIST ..\QuestDiary\代理登录\密码设定.txt <$NPCINPUT(1)>
#ACT
Mov U0 1
SENDMOVEMSG 1 224 162 350 1 密码正确!欢迎您登录<$SERVERNAME>区!
#ELSEACT
SendCenterMsg 249 255 密码错误! 0 3 

相关阅读

最新评论