本站所有资源均为网络收集整理而来,仅供学习研究使用,请在下载后24h内删除,谢谢合作!WWW.52LANM.COM
可以在游戏里设置一个NPC,加群获取兑换码,增加人气~
该脚本默认验证码为:666888
脚本如下:
program mir2;
{$I fh.pas}
procedure _exit;
begin
This_Npc.CloseDialog(This_Player);
end;
procedure DoMain;
var x,y:integer;
begin
x:= random(100);
y:= random(100);
This_Player.SetV(66,66,666888);
This_Npc.NpcDialog(This_Player,
'| <2/fcolor=254> <0/fcolor=251> <2/fcolor=180> <1/fcolor=42> <独/fcolor=254> <家/fcolor=250> <传/fcolor=70> <奇/fcolor=244> <版/fcolor=249> <本/fcolor=253>|\'+
'| <人送我外号> <:/fcolor=254> <老板/fcolor=250>\'+
'| <看在你叫我老板的份上,送你一个兑换码> <:/fcolor=254> <666888/fcolor=244>|\'+
'| <可以兑换我私藏带宝物:/fcolor=150><赠送的东西,赠送的东西,赠送的东西,赠送的东西><各一份/fcolor=150>\'
+'|{cmd}<输入兑换码领礼物/@codeinput>');
end;
procedure _codeinput;
begin
This_NPC.InputDialog(This_Player,'请输入礼包兑换码',0,711) ;
end;
procedure p711;
var
num:integer;
begin
num := StrToIntDef(This_NPC.InputStr,-1);//输入非阿拉伯数字的字符都返回-1
if This_NPC.InputOK then
begin
if num = This_Player.GetV(66,66) then
begin
This_Player.Give('赠送的东西',1);
This_Player.Give('赠送的东西',1);
This_Player.Give('赠送的东西',1);
This_Player.Give('赠送的东西',1);
This_NPC.NpcDialog(This_Player,
'|验证成功');
end else
This_NPC.NpcDialog(This_Player,
'您已经获得了奖励,无法重复领取,或激活码错误');
end
end;
begin
domain;
end.
© 版权声明
本站资源大多存储在云盘,如发现链接失效,请联系我们,我们会第一时间更新。。
本站收集的资源仅供内部学习研究软件设计思想和原理使用,学习研究后请自觉删除,请勿传播,因未及时删除所造成的任何后果责任自负
本站所有内容均来源于网络,仅供学习与参考,请勿商业运营,严禁从事违法、侵权等任何非法活动,否则后果自负,若侵犯到您的权益,请联系站长邮箱:12225150@qq.com 我们会在24h小时之内进行删除处理。THE END
暂无评论内容