>[success] ##### 功能链接描述
> 命令说明
比如<点击传送/@ClickMove>,文字描述部分可包含{}标记,比如<{S=点击;C=249}传送/@ClickMove>;功能函数支持参数,比如在实际处理ClickMove函数时,其Args的第一至三个参数分别为"3"、"320"、"320"。
> ##### 特殊功能函数说明
<table cellspacing="0" border="1" _ewebeditor_tabletemplate="template32" cellpadding="3" style="border-width: 1px 0px 0px 1px; border-top-color: rgb(79, 129, 189); border-left-color: rgb(79, 129, 189); width: 98%;">
<tbody>
<tr>
<td style="border-width: 0px 1px 3px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; text-align: center;">参数</td>
<td style="border-width: 0px 1px 3px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; text-align: center;">含义</td>
</tr>
<tr>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold;">@@InPutString</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238);">该函数后跟一个数字标记,用来在客户端弹出一个输入框,并将玩家输入的字符串作为第一个参数返回,如果含有参数则将第一个参数作为提示信息。比如<输入名称/@@InPutString01>、<输入名称/@@InPutString01(请输入你的名称:)></td>
</tr>
<tr>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold;">@@InPutInteger</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189);">该函数后跟一个数字标记,用来在客户端弹出一个输入框,并将玩家输入的数字作为第一个参数返回,如果含有参数则将第一个参数作为提示信息。比如<输入年龄
td @@InPutInteger01(请输入你的年龄:)>< @@InPutInteger01>、<输入年龄></td>
</tr>
<tr>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold;">@@Question</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238);">必须包含至少两个参数,第一个参数为对话信息,第二个参数为函数名称,之后的参数被作为第二个参数在被作为函数调用时的参数。在客户端弹出一个提示窗口,玩家选择确定则调用参数里的函数,点击取消则不做任何处理<br>
比如:<购买VIP卡/@@Question(确定够吗吗?,@BuyVIP,1)>,询问玩家是否购买VIP卡,玩家点击确定则调用函数BuyVIP,参数"1"被作为"BuyVIP"的参数执行</td>
</tr>
</tbody>
</table>
> ##### 使用说明
~~~
Unit Q26;
Interface
Uses Classes, SysUtils;
Procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);
Implementation
Procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);
Const
S=
[[
<点击传送/@ClickMove>\
<{S=点击;C=249}传送/@ClickMove>\
<点击传送/@Clickmove2(3,320,320)>
]];
Begin
Npc.Say(Player,S);
End;
Procedure Clickmove(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);
Begin
Player.Mapmove('3',333,333); //传入到盟重 333 333
End;
Procedure Clickmove2(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);
Begin
Player.Mapmove(Args.Str[0],Args.Int[1],Args.Int[2]); //根据参数传送到盟重 320 320
End;
End.
~~~
>[success] 功能链接描述
> ##### 命令说明
支持字体颜色、道具展示、图片展示,可固定显示位置及大小
>[danger] 注意:当存在E、U属性的同时又存在S属性,则显示为S中的文字,鼠标移上去的时候显示装备提示 U与E的区别:E段显示的是数据库物品属性,U段显示的除了数据库属性还还会显示附加属性、强化属性、极品属性等全部信息。 在聊天栏信息中,U属性段如果没指定显示的字符串则显示为该物品的名字
> ##### 特殊功能函数说明
<table style="border-width: 1px 0px 0px 1px; border-top-style: solid; border-top-color: rgb(79, 129, 189); border-left-style: solid; border-left-color: rgb(79, 129, 189); width: 98%; height: 619px;" cellspacing="0" border="0" _ewebeditor_tabletemplate="template32" cellpadding="3">
<tbody>
<tr class="bg-color-gray b">
<td class="item tcenter b" style="border-width: 0px 1px 3px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 17px;">参数</td>
<td style="border-width: 0px 1px 3px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 17px;">含义</td>
<td style="border-width: 0px 1px 3px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 17px;">范例</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">S</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">要显示的字符串。</td>
<td class="vcenter" rowspan="2" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 36px;">比如<font color="#993300">{S=我是卖装备的;C=249}</font>将显示“<font color="#ff0000">我是卖装备的</font>”</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">C</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">文字颜色,取值可为0-255、WEB颜色(如#FF0000)</td>
</tr>
<tr>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">FS</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">文字大小</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">
<div>比如{S=XXX;Fs=15},FS为字体大小,仅在NPC对话框内有效,其余会出现神奇效果</div>
</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">CH</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">鼠标经过时文字颜色,取值同C</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">比如<font color="#993300">{S=我是卖装备的;C=249;CH=250}</font>将显示“<font color="#ff0000">我是卖装备的</font>”,当鼠标经过的时候将显示为“<font color="#00ff00">我是卖装备的</font>”</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">Hint</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">提示信息 该属性字符串支持特换行和颜色的处理,特殊字符需要进行转码(可在对话编辑 里面进行)</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">比如<font color="#800000">{S=字符串;C=249;Hint={S=字符串;C=249}}</font>,则作为Hint内容时应该转码为<font color="#800000">#123S#61字符串#59C#61249#125</font>,要替换成转义符 (可在 NPC对话编辑 里面进行)</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">E</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">1.物品数据库ID,如果没有对应的ID则无效,ID为数据库中Idx字段的值+1;2.物品名字,物品名字不存在时无效。</td>
<td class="vcenter" rowspan="2" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 36px;">如<font color="#993300">{E=10},{E=裁决之杖}</font>,将直接显示装备图片,鼠标移到上面有装备提示<br>
如<font color="#993300">{E=裁决之杖;HINT:恩#92差不多就是这样提示#92还能换行}</font>当再没有HINT字段时候鼠标经过的提示信息为装备信息否则为HINT信息。</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">增强E</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">E字段兼容HINT,E字段和HINT存在时则显示HINT信息,不存在HINT字段时则显示E字段物品属性</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">U</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">显示一个用户装备。必须通过物品的MakeString来产生值,且U段必须是以U开始,坐标之类的属性放在后面C</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">如"<font color="#800000">{U=%s;X=100;Y=100}</font><font color="#000000">".</font></td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">F</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">资源文件名称</td>
<td class="vcenter" rowspan="2" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 36px;">比如<font color="#993300">{I=100;F=Items.wil}</font>将显示Items.wil图库中第100张图片</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">I</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">图片序号。如果F没填写,则在Prguse.data资源中提取</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">H</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">显示的高度</td>
<td class="vcenter" rowspan="2" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 36px;">比如<font color="#993300">{S=我是卖装备的;h=4;Y=6}</font></td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">W</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">显示的宽度</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">OX</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">向右偏移像素</td>
<td class="vcenter" rowspan="2" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 36px;">比如<font color="#993300">{S=我是卖装备的;OX=100;OY=100}</font></td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">OY</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">向下偏移像素</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">X</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">固定的左边距</td>
<td class="vcenter" rowspan="2" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 36px;">比如<font color="#993300">{S=我是卖装备的;X=100;Y=100}</font></td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">Y</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">固定的顶边距</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b tcenter vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">M</td>
<td class="vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">动画序号和经过、按下图片(不使用资源偏移)</td>
<td class="vcenter" rowspan="5" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 127px;">在M属性X和Y用来调节按钮显示位置的(不使用资源偏移)<br>
在M属性OX和OY用来调节按钮图片显示位置的(使用资源偏移)<br>
56-59动画序列号<br>
65经过图片、69按钮图片。经过和按下图片可空<br>
如果没有横杠则是按钮<br>
比如<{M=56-59,65,69;F=Prguse.data;T=500;OX=50;OY=50;HINT=点击打开传送对话框}
/@ClickImage><br>
比如2<{M=56,65,69;F=Prguse.data;T=500;OX=50;OY=50;HINT=点击打开传送对话框}
/@ClickImage><br>
比如3<{M=56-59;F=Prguse.data;TA=5000;OX=50;OY=50;HINT=我是动画}><br>
比如4<{M=56-59;F=Prguse.data;TB=5000;OX=50;OY=50;HINT=我是动画}>
</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b tcenter vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 18px;">MO</td>
<td class="vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 16px;">动画序号和经过、按下图片(使用资源偏移)</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b tcenter vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 19px;">T</td>
<td class="vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 17px;">动画播放时间</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b tcenter vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 23px;">TA</td>
<td class="vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 20px;">动画播放时间(播放完毕后停留最后一帧,毫秒为单位)</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b tcenter vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 31px;">TB</td>
<td class="vcenter" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 30px;">动画播放时间(播放完毕后消失,毫秒为单位)</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">AC</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">自动变色颜色表</td>
<td class="vcenter" rowspan="2" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 36px;">比如<font color="#993300">{S=91M引擎;AC=251,249,222,210;AT=1000}</font></td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">AT</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">自动变色间隔(如何不填写默认1000)</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">GX</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">全局左边距。</td>
<td class="vcenter" rowspan="2" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 36px;">比如<font color="#993300">{S=我是卖装备的;GX=50;GY=60}</font></td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">GY</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">全局顶边距</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); font-weight: bold; height: 15px;">SC</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 15px;">自动触发脚本间隔(单位:秒)</td>
<td class="vcenter" rowspan="2" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); height: 36px;">比如<font color="#993300">{SC=10;SF=@CountDownOver}
</font>//表示 倒计时10秒 倒计时结束后 执行CountDownOver函数 (必须再对话框没有关闭的情况下) ,如果SF不填写表示
仅仅倒计时而已</td>
</tr>
<tr>
<td class="bg-color-gray tcenter b" style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); font-weight: bold; height: 15px;">SF</td>
<td style="border-width: 0px 1px 1px 0px; border-right-style: solid; border-right-color: rgb(79, 129, 189); border-bottom-style: solid; border-bottom-color: rgb(79, 129, 189); background-color: rgb(211, 223, 238); height: 15px;">倒计时完毕后触发的函数(NPC本单元的函数, (必须再对话框没有关闭的情况下) ,如果SF不填写表示 仅仅倒计时而已)</td>
</tr>
</tbody>
</table>
>[success] ##### 如何关闭下划线
> ##### 关闭说明
当命令中的内容以"&"开始时,则不显示下划线,如< &XXXX/@Command >、<&{S=XXX;C=255}/@Command>
如果需要在命令中第一个字符位置显示"&"时,则需要转义处理,如<#38XXXX/@Command >
>[success] ##### 倒计时标记说明
> ##### 标签说明
| 参数 | 含义 | 范例 |
| --- | --- | --- |
| <$Time:倒计时秒数$>, | 将在消息中显示剩余时间 | Player.SendCountDownMessage('第<$Time:300$>后可领取一份系统奖励...', 0); |
| <$HTime:倒计时秒数$>, | 在消息中不显示剩余时间,但是会持续显示,直到倒计时结束 | Player.SendCountDownMessage('欢迎来到91网络...<$HTime:300$>', 0); |
>[success] ##### 转义字符表
> ##### 说明
部分字符在对话中需要替换成特殊的字符,转义字符表:
##### 转义表
| 符号 | 转义符 | 范例 |
| --- | --- | --- |
| # | #35 | |
| & | #38 | 由于"&"在命令中作为下划线的开关,所以在命令中第一个位置显示"&"时需要转义,其他位置不需要 |
| / | #47 | |
| \\ | #92 | |
| < | #60 | |
| \> | #62 | |
| @ | #64 | |
| { | #123 | |
| } | #125 | |
| ( | #40 | |
| ) | #41 | |
| ; | #59 | |
| \[ | #91 | |
| \] | #93 | |
| , | #44 | |
| \= | #61 | |
| | | |
- 更新日志
- 2021年更新日志
- 2020年更新日志
- 2019年更新日志
- 2017年更新日志
- 2016年更新日志
- 2015年更新日志
- 2014年更新日志
- 2013年更新日志
- 游戏对象
- GameLib
- TActor
- TActorList
- TAddedAbility
- TAddLevelItem
- TAddPointItem
- TArgs
- TAttatckMode
- TDBEngine
- TEnvirnoment
- TFunctionFlag
- TGuild
- TItemState
- TItemWhere
- TMissionItem
- TMissionLinkItem
- TMissions
- TNormNpc
- TPlayMonster
- TPlayMonsterNPC
- TPlayObject
- TStdItem
- TStoreItemList
- TToptenz
- TUserCastle
- TUserItem
- TUserMagic
- TVarValue
- Tbuff
- TBuffCategory
- TBuffAbilityType
- TBuffStatusType
- TBuffIntervalType
- 固定NPC
- AINpc
- ExternalNPC
- MagicNpc
- ManagerNPC
- MapEventNPC
- MissionsNpc
- QFunctionNPC
- RobotManagerNPC
- TimeManagerNPC
- 自定义功能
- 自定义客户端UI
- Buffer效果自定义设计
- UI管理界面预览
- 如何实现物品放入或取下时的函数触发
- 自定义窗口
- 自定义界面中编辑框参数发送方式
- 自定义客户端装备提示效果
- 自定义特效
- 自定义装备提示样式
- Buff系统说明
- 自定义技能编辑器
- 技能扩展自定义
- 自定义技能初识
- 被动技能属性定义
- 技能模式定义
- 客户端效果定义
- 主动技能动作定义
- 新自定义技能编辑器
- 初始编辑器
- 自定义编辑器使用说明
- 如何实现自定义怪物
- 脚本实例
- NPC对话编辑
- 宝宝叛变的启动和停止
- 创建脚本单元
- 创建一个藏匿于地图上的攻击事件
- 地图传送
- 获取服务器名称
- 获取玩家任务信息
- 检测是否为沙城成员
- 角色称号、头顶花翎、头顶特效设置
- 判断PK值
- 判断队伍信息
- 判断角色对面是一个什么对象
- 判断角色金币、元宝及礼金等数量
- 判断角色所在的地图信息
- 判断角色性别
- 判断角色职业
- 判断两个角色之间的距离
- 判断是否为队长
- 判断是否为行会掌门
- 判断是否为沙巴克城主
- 判断有某一物品的数量
- 判断转生等级及等级
- 让目标移动到指定的坐标
- 让玩家回城
- 如何播放一个声音文件
- 如何操作Check状态检查
- 如何操作数据库
- 如何查看玩家IP来源
- 如何查看装备是否可被穿戴或取下
- 如何查找一个行会
- 如何充值角色的属性点
- 如何初始化全局变量
- 如何穿戴或取下一件装备
- 如何创建一个副本地图
- 如何创建一个行会
- 如何打开一个宝箱
- 如何打开指定的URL
- 如何弹出对话框让玩家选择执行
- 如何读写个人变量、行会变量及全局变量
- 如何读写文本文件
- 如何发送各种文字信息
- 如何访问其他角色
- 如何复活
- 如何给客户端发送一个标题栏闪动
- 如何给玩家发放物品
- 如何更新自定义窗口上的内容
- 如何关闭进度条
- 如何关闭一个打开的自定义窗口
- 如何过滤字符串中的文字
- 如何获得地图上全部玩家的信息
- 如何获得地图上指定范围内的怪物数量
- 如何获取丢在地上物品对象
- 如何获取角色当前使用的称号
- 如何获取角色负重
- 如何获取角色在线时长
- 如何获取排行榜信息
- 如何获取人物当前获得的称号信息
- 如何获取坐标上指定范围内的全部怪物
- 如何加入或离开队伍
- 如何加入一个指定的行会
- 如何加载和保存自定义的配置文件(INI文件读写
- 如何监控攻击模式的更改
- 如何监控玩家扔物品
- 如何检查目标是否处于某种状态
- 如何将NPC设置为当前玩家的雕像
- 如何将地图上的角色全部随机传送到另外一个地图上
- 如何将指定玩家传送到身边
- 如何将装备显示在NPC对话框上
- 如何脚本封速
- 如何脚本刷怪
- 如何脚本增加和删除一个NPC
- 如何脚本增加和删除一个怪物NPC
- 如何禁止玩家聊天
- 如何开启及停止自动增加经验值
- 如何克隆玩家为人形怪
- 如何判断当前等级的经验值上限
- 如何判断队伍中是否为不同职业的角色
- 如何判断角色是否为新人
- 如何判断玩家曾经是否接过某任务
- 如何清除地图上的怪物
- 如何请求一个URL
- 如何取得地图上的怪物数量
- 如何取得行会全部称号及全部成员信息
- 如何取得全部在线用户信息
- 如何取得玩当前机器的机器码
- 如何取得物品的数据库单价和销售价格
- 如何取得邮件的数量信息
- 如何取得自定义界面里面玩家放入的物品信息
- 如何让打开客户端的背包、商城及市场
- 如何让他人执行指定的脚本
- 如何删除或修改行会称号
- 如何删除玩家的物品
- 如何删除一个称号
- 如何删除一个副本地图
- 如何删除一个扩展按钮
- 如何删除一个延时调用函数
- 如何设置当前称号
- 如何设置角色死亡不爆出
- 如何实现充值平台对接
- 如何实现骰子
- 如何实现无敌隐身
- 如何实现物品属性转移(物品复制)
- 如何实现一个带参数的输入框
- 如何实现一个机器人
- 如何实现自定义装备爆出提示
- 如何使用JSON对象
- 如何使用角色S、P及N变量
- 如何使用静态数组和动态数组
- 如何使用升级加属性点
- 如何收取城堡金币
- 如何随机刷新物品属性
- 如何踢出在线人物
- 如何添加一个称号
- 如何调整角色的HP、MP值
- 如何调整角色声望值
- 如何调整人物攻击模式
- 如何调整人物转生等级
- 如何调整限时杀怪经验倍率
- 如何调整装备属性上限
- 如何完全控制他人
- 如何显示一个进度条
- 如何修改怪物名称
- 如何修改行会帮主
- 如何修改人物技能属性
- 如何修改一个物品的属性
- 如何延时调用一个函数
- 如何以爆物的方式将一个怪物的爆率给玩家
- 如何用脚本存取物品
- 如何在地图上爆出一个指定的物品
- 如何在行会指定的称号里面添加成员
- 如何在脚本中引用外部DLL
- 如何在客户端显示一个特效
- 如何增加和移除一个个人时钟事件
- 如何增加或减少角色经验值
- 如何增加一个地图连接点
- 如何增加一个行会的称号
- 如何增加一个扩展按钮
- 如何召唤下属
- 如何指定删除角色身上的装备
- 如何重新计算排行榜
- 如何转职
- 如何自动增加或减少元宝
- 如何做一个感叹号提示
- 实现自定义的客户端命令集
- 推开指定的目标
- 修改怪物的爆率为一个指定的爆率文件
- 循环自身全部技能
- 如何设置装备掉落触发脚本处理
- 如何设置装备掉落提示
- 给玩家添加一个未接任务
- 给玩家添加一个已接任务
- 补丁规则
- NPC补丁设置
- Prguse.data文件编辑的注意事项
- 引擎补丁规则
- 地图补丁规则
- 盾牌补丁
- 怪物补丁设置
- 头发补丁设置
- 武器及衣服补丁设置方法
- 坐骑补丁设置
- 操作相关
- 数据库设置
- 版本数据库管理
- 锄头设置方法
- 攻速及幸运设置
- 技能特殊设置
- 扩展数据管理
- 魔法数据设置要点
- 人形怪穿戴及技能设置
- 人形怪攻击速度设置
- 人形怪数据库设置
- 如何配置宝箱及钥匙
- 如何设置解包物品
- 如何设置一个固定位置的传送道具
- 设计采集类怪物
- 设置自定义物品种类名称
- 数据库报错问题
- 特殊物品属性设置说明
- 添加宝石物品
- 添加可穿戴宝石、气血石及魔血石物品
- 物品数据库设置说明
- 游戏数据库的导入导出
- 服务端操作
- [M2]开启物品属性下限功能
- 摆摊相关
- 备份与恢复
- 防外挂设置
- 服务端部署
- 合区
- 角色成长属性调整
- 配置排行榜系统
- 如何查看M2Server所在机器的机器码
- 如何实现多机负载
- 网关防攻击配置
- 游戏网关性能设置
- 任务系统
- 脚本混编说明
- Call命令说明
- 参数Args的读取
- 存在的意义
- 让他人执行脚本
- 如何定义常量
- 如何读写变量
- 如何实现混编
- 特殊标志段说明
- 特殊的CHECK和SET
- 调整杀怪倍率
- 支持编译时错误提示
- 地图配置
- 地图NPC配置
- 地图安全区编辑
- 地图创建及属性说明
- 地图杀怪任务触发
- 地图事件编辑
- 地图刷怪配置
- 地图挖矿设置
- 附属地图配置
- 关联到盛大新格式地图
- 检查地图文件使用情况
- 卫士配置
- 登陆器操作
- 登陆器自我更新
- 登录器界面组件介绍
- 登录器设计界面初识
- 管理登陆器列表
- 将登陆器列表部署到服务器
- 客户端控制
- 客户端样式选择
- 列表设计界面初识
- 如何创建登陆器皮肤
- 如何生成登陆器文件
- 玩家登陆器选项
- 微端控制
- 版本管理器
- NPC对话内容编辑
- 版本文件二次注册使用方法
- 查看程序是否更新
- 创建新的版本文件
- 单个脚本加密方法
- 额外数据库信息配置
- 给版本设置一个唯一ID
- 怪物爆率配置
- 将版本运行所需的配置文件植入版本文件中
- 角色登陆提示信息
- 脚本分类说明
- 脚本机器人配置
- 配置宝箱
- 配置怪物说话
- 如何开启技能自动追踪目标的功能
- 如何实现登陆器图标及客户端Logo的替换
- 如何下载最新版本
- 商城(元宝、礼金)管理
- 商贩贩卖物品配置
- 设置版本工具环境变量
- 套装配置
- 添加一个盾牌物品
- 系统提示信息配置
- 一键导入其他引擎的版本
- 远程管理
- 资源数据管理
- 如何添加一个任务模板中的任务
- 其他辅助说明
- [重要]脚本编写注意项
- 256颜色值
- IP库
- Mir200_Envir下的列表文件详解
- 各种时间控制方法
- 怪物DB数据
- 怪物Race设置
- 键盘码对应数值表
- 脚本系统与系统安全说明
- Pascal基础说明
- Pascal变量类型
- Pascal数据类型
- 基础函数及单元
- 客户端标签变量
- 疑问/建议/反馈/留言
- 在线教程
- 引擎下载