Hi! i did that script to control secondaries accounts wisping him but only works first "if" (lve). If i wisp pt didnt works.
uses SysUtils;
procedure ChatScanerThread();
var
said: string;
begin
said:= (ChatMessage.Text);
while delay(100) do begin
if (ChatMessage.Unread) and (ChatMessage.ChatType = mtPrivate)
and (ChatMessage.Time < 3333) and (ChatMessage.Text = said)then
begin
if said = 'lve' then begin
Print('Leaving')
end;
if said = 'pt' then begin
Print('inviting')
end;
end;
end;
end;
begin
Script.NewThread(@ChatScanerThread);
Delay(-1);
end.
whats wrong? :S
Hi all, im new here and scripting. Im trying to do a script for control my pj wisping they or chating in pt. For example, if i wisp "jhon" and i say "invme" then "jhon" send me invite. or use action or skill, this kind of things.
Can you help me? Thanks ^^