wuduz游戏站

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

[技术教程] 千年红豆千年纪念碑代码

跳转到指定楼层
楼主
发表于 2022-10-12 21:51:07 |只看该作者 |正序浏览
Init/DynamicObject.sdb
红豆千年1,红豆千年纪念碑,8,101,,,,1,0,0,0,7,8,15,,9164,9165,,,,,,,,,30000,,4000,,,,,,,

Init/Script/红豆千年纪念碑.txt
unit 红豆千年纪念碑;

interface

function  GetToken (aStr, aToken, aSep : String) : String;
function  CompareStr (aStr1, aStr2 : String) : Boolean;
function  callfunc (aText: string): string;
procedure print (aText: string);
function  Random (aScope: integer): integer;
function  Length (aText: string): integer;
procedure Inc (aInt: integer);
procedure Dec (aInt: integer);
function  StrToInt (astr: string): integer;
function  IntToStr (aInt: integer): string;
procedure exit;

procedure OnLeftClick (aStr : String);
procedure OnGetResult (aStr : String);

implementation

procedure OnGetResult (aStr : String);
var
   Str, Name : String;
begin
   if aStr = 'close' then begin
      exit;
   end;
   if aStr <> '' then begin
      str := 'showwindow .help' + aStr;
      Str := Str + '.txt';
      print (str);
   end;
end;

procedure OnLeftClick (aStr : String);
var
   Str : String;
   Race : Integer;
begin
   Str := callfunc ('getsenderrace');
   Race := StrToInt (Str);
   if Race = 1 then begin
      str := 'showwindow .help红豆千年纪念碑.txt 0';
      print (str);
   end;
end;


end.

Setting/CreateDynamicObject1.sdb
7,红豆千年1,151,,,,,,,,524,474,,,,

Script/script.sdb

151,红豆千年纪念碑.txt,,

注意:上面那两个151的对应.

Help/红豆千年纪念碑.txt





对红豆千年有卓越贡献的玩家将永远刻入石碑!!!


关闭

目前没有内容!!!

使用道具 举报

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

GMT+8, 2026-6-10 20:22

回顶部