procedure OnGetResult (aStr : String);
var
Str, Name : String;
iCount, iKind : Integer;
begin
if aStr = 'close' then begin
exit;
end;
if aStr = 'go' then begin
Str := callfunc ('getsenderitemexistence 寒光剑:1');
if Str = 'false' then begin
print ('say 没有寒光剑....去沙漠找铁匠打造吧!');
exit;
end;
Str := callfunc ('getusercount 111');
iCount := StrToInt (Str);
if iCount > 0 then begin
print ('say 里面好象有人...稍等片刻');
exit;
end;
Str := callfunc ('checkalivemopcount 111 monster 妖华变身');
iCount := StrToInt (Str);
if iCount = 0 then begin
print ('say 里面好象有人...稍等片刻');
exit;
end;
procedure OnGetResult (aStr : String);
var
Str, Name : String;
iCount : Integer;
begin
if aStr = 'kaishi' then begin
Str := callfunc ('getsenderserverid');
if Str <> '111' then exit;
Str := callfunc ('getsenderrace');
if Str <> '1' then exit;
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 1';
print (Str);
exit;
end;
end;
procedure OnGetResult (aStr : String);
var
Str, Name : String;
begin
if aStr = 'close' then begin
exit;
end;
if aStr = 'sell' then begin
Name := callfunc ('getsendername');
Str := 'tradewindow ' + Name;
Str := Str + ' 0';
print (Str);
exit;
end;
if aStr = 'make' then begin
Str := callfunc ('getsenderitemexistence 白玫瑰一:99');
if Str = 'false' then begin
Str := 'say 白玫瑰不足99朵。';
print (Str);
exit;
end;
if Str = 'true' then begin
Str := callfunc ('getsenderitemexistence 妖华尾巴:1');
if Str = 'false' then begin
Str := 'say 没有妖华尾巴。';
print (Str);
exit;
end;
if Str = 'true' then begin
Str := callfunc ('checkenoughspace');
if Str = 'false' then begin
print ('say 物品栏已满~');
exit;
end;
Str := 'getsenderitem 白玫瑰一:99';
print (Str);
Str := 'getsenderitem 妖华尾巴:1';
print (Str);
Str := 'putsendermagicitem 狐狸内丹三:1 @九尾狐酒母 4';
print (Str);
Str := 'say 换走狐狸内丹';
print (Str);
exit;
end;
end;
end;
if aStr = 'renwu' then begin
Str := callfunc ('getsenderitemexistence 空瓶1:1');
if Str = 'true' then begin
print ('say 还没杀死妖华找我干什么?');
print (Str);
exit;
end;
Str := callfunc ('getsenderitemexistence 信物:1');
if Str = 'true' then begin
print ('say 还没杀死妖华找我干什么?');
print (Str);
exit;
end;
Str := callfunc ('getsenderitemexistence 寒光剑:1');
if Str = 'true' then begin
print ('say 还没杀死妖华找我干什么?');
print (Str);
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;
if CurrentQuest < 1450 then begin
print ('showwindow .help狐狸洞.txt 1');
exit;
end;
if CurrentQuest = 1450 then begin
print ('showwindow .help帝王石谷铁匠.txt 1');
exit;
end;
if CurrentQuest = 1500 then begin
print ('say 事情进行得还顺利吗?');
exit;
end;
if CurrentQuest = 1550 then begin
print ('say 抱歉_小人有眼无珠没认清大人');
exit;
end;
if CurrentQuest > 1550 then begin
print ('showwindow .help狐狸洞.txt 1');
exit;
end;
end;
procedure OnGetResult (aStr : String);
var
Str, Name : String;
nCur, nDura : Integer;
begin
if aStr = 'close' then begin
print ('say 你这人别浪费我时间,该干什么干什么去吧~');
exit;
end;
if aStr = 'about' then begin
print ('showwindow .help帝王石谷铁匠2.txt 1');
exit;
end;
if aStr = 'before' then begin
print ('showwindow .help帝王石谷铁匠.txt 1');
exit;
end;
if aStr = 'make' then begin
Str := callfunc ('checkenoughspace 1');
if Str = 'false' then begin
print ('say 行囊满了');
exit;
end;
Str := callfunc ('getsenderitemexistence 石谷钥匙:1');
if Str = 'true' then begin
print ('say 身上不是有石谷钥匙吗_别太贪心啦');
exit;
end;
Str := callfunc ('getsenderitemexistence 金毛狮甲:1');
if Str = 'false' then begin
print ('say 巧妇难为无米之炊_什么都不拿让我拿什么做呀');
exit;
end;
Str := callfunc ('getsenderitemexistence 蝎子尾巴:1');
if Str = 'false' then begin
print ('say 巧妇难为无米之炊_什么都不拿让我拿什么做呀');
exit;
end;