yanix
2007-09-09 04:37:05
Im memb and id like a auto responder that will work when i chop so i dont have to do anything else then click and id like the auto responder in a whole script… thx -Yanix
2007-09-09 04:37:05
2007-09-09 04:42:12
2007-09-09 04:45:51
2007-09-09 04:50:33
2007-09-10 11:15:13
2007-09-10 11:29:55
Function AutoRespondByRick (FindText, SayRandomText1, SayRandomText2, SayRandomText3 : string):Boolean;
var
textx, texty: Integer;
TextSayd : String;
TextFound : String;
begin
if (not (IsTextInAreaEx(8, 428, 291, 461, textx, texty, FindText, 12, smallchars, False, True, 0, 1, 16711680))) then
begin
exit;
end else
begin
Result := True;
Case Random (3) of
0: begin
Typesend(SayRandomText1);
TextSayd := SayRandomText1
end;
1: begin
Typesend(SayRandomText2);
TextSayd := SayRandomText2
end;
2: begin
Typesend(SayRandomText3);
TextSayd := SayRandomText3
end;
end;
TextFound := FindText
WriteLn('- - - Auto Respond By MasterKill - - -');
WriteLn('- MrX: ' + TextFound);
WriteLn('- ' + Players[CurrentPlayer].Name + ': '+ TextSayd);
WriteLn('');
end;
end;Procedure AutoRespond;
begin
AutoRespondByRick('Hi','yoo','yo','ewa');
AutoRespondByRick('Noob','stfu','look at yourself','u r');
AutoRespondByRick('Haha','lol','rofl','not funny');
AutoRespondByRick('Total','look it up','look in hi-scores','not telling');
end;2007-09-14 09:00:57
if (InChat('att lvl?') or
InChat('att level?') or
InChat('attack level?') or
InChat('attack lvl?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Attack')))
RespondAmount := RespondAmount + 1;
2007-09-14 10:12:09
From: MasterKill
i made one:
it's looking in the last 2 line's for text to respond to. if you use it don't forget to credit me ^^Function AutoRespondByRick (FindText, SayRandomText1, SayRandomText2, SayRandomText3 : string):Boolean;
var
textx, texty: Integer;
TextSayd : String;
TextFound : String;
begin
if (not (IsTextInAreaEx(8, 428, 291, 461, textx, texty, FindText, 12, smallchars, False, True, 0, 1, 16711680))) then
begin
exit;
end else
begin
Result := True;
Case Random (3) of
0: begin
Typesend(SayRandomText1);
TextSayd := SayRandomText1
end;
1: begin
Typesend(SayRandomText2);
TextSayd := SayRandomText2
end;
2: begin
Typesend(SayRandomText3);
TextSayd := SayRandomText3
end;
end;
TextFound := FindText
WriteLn('- - - Auto Respond By MasterKill - - -');
WriteLn('- MrX: ' + TextFound);
WriteLn('- ' + Players[CurrentPlayer].Name + ': '+ TextSayd);
WriteLn('');
end;
end;
use like this:Procedure AutoRespond;
begin
AutoRespondByRick('Hi','yoo','yo','ewa');
AutoRespondByRick('Noob','stfu','look at yourself','u r');
AutoRespondByRick('Haha','lol','rofl','not funny');
AutoRespondByRick('Total','look it up','look in hi-scores','not telling');
end;
AutoRespondByRick('look for text', 'random say 1', 'random say 2', 'random say 3');
EDIT:
REMEMBER: if the ('LookForText' = the same as 'random say x') then it will respond to him self!
2007-09-15 04:12:52