Sable
2015-01-29 20:16:49
Can anyone help me write a script that reads chatbox usernames in oldschool runescape?
Right now im at this
function Check_trade: boolean;
var
I: Integer;
S: String
begin
For I:=8 downto 1 do
begin
S := getChatBoxText(I, 0);
If (S = '')then
Continue;
new_str = str.copy(1, pos(' wishes to trade', str))
Result := str.copy
If Result then
Click_Trade;
end;
end;
ty
Right now im at this
function Check_trade: boolean;
var
I: Integer;
S: String
begin
For I:=8 downto 1 do
begin
S := getChatBoxText(I, 0);
If (S = '')then
Continue;
new_str = str.copy(1, pos(' wishes to trade', str))
Result := str.copy
If Result then
Click_Trade;
end;
end;
ty