Hi can someone help me?
I need to find a way in which my script can find text in the chatbox which is written in black.
I have tried several codes but none seem to work o.O Does anyone know a working one please?![]()
Hi can someone help me?
I need to find a way in which my script can find text in the chatbox which is written in black.
I have tried several codes but none seem to work o.O Does anyone know a working one please?![]()
Is that what your looking for?Simba Code:FindChatBoxText(Text , Line, TextCol);
I tried that one but in return I get,
"Unknown identifier 'FindChatBoxText'"
![]()
Are you including srl.simba in your script?
Red & Green Salamander Hunter // Construction // Gilded Altar // Major help w/ Kyles Runespan // VWB Smither // PhoenixFeathers // GemCutter // Bonfire // LRC Miner // Spell Tab Maker // ApeAtollAgility // IvyWC // RoguesCooker // Herblore // AshamanButterfly // AshamanPowerMiner // Fletcher // LividFarm
try updating your srl.
No Plugins update available.
No SRL update available.
^There isn't such a function, where'd you find it killer?
Miner & Urn Crafter & 07 Chicken Killer
SPS BlindWalk Tutorial
Working on: Nothing
teacher in every art, brought the fire that hath proved to mortals a means to mighty ends
chat.simba
edit: http://docs.villavu.com/srl-5/chat.html#findchatboxtext
Would this work?
http://docs.villavu.com/srl-5/chat.h...ackchatmessage
Thanks I'll try it!![]()
FindBlackChatMessage?
Thanks alot!![]()
Simba Code:function Getchat(text:string):boolean;
var
I:integer;
begin
for i := 1 to 8 do
begin
result := findchatboxtext(text, i, clmessage);
if result then
break
end;
end;
That will search the entire chatbox for your message. Use like this.
Simba Code:if GetChat('We have died') then
writeln('We have died!');
Thx Euphemism and Vinyl for the awesome siggy and avatar!
There are currently 1 users browsing this thread. (0 members and 1 guests)