procedure OnLeftClick (aStr : String);
var
Str : String;
Race : Integer;
begin
Str := callfunc (getsenderrace);
Race := StrToInt (Str);
if Race = 1 then begin
print (showwindow .help欢迎玩家.txt 1);
exit;
end;
end;
procedure OnGetResult (aStr : String);
var
Str, Name, Maps, nStr : String;
nCur, nDura, Mapi, iCount, nValue, nCount : Integer;
begin
if aStr = close then begin
exit;
end;
if aStr = 登陆奖励 then begin
if i >= 20 then begin
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
Dec(i);
print (setallowdelete npc 新人认证);
exit;
end;
Str := callfunc (getsenderitemexistence 新人认证:1);
if Str = false then begin
print (say 贪心的家伙!);
print (Str);
exit;
end;
Str := callfunc (checkenoughspace);
if Str = false then begin
print (say 包包满哩撒~);
exit;
end;