hi, how do rework a script invite on pm
eror in line 1 T_T
it working :D
Procedure invitePM;
begin
while true do begin
if (ChatMessage.unread and (integer(ChatMessage.chattype) = 2)) then begin //u can add as many senders as u want. change nick to your nicks
if ((ChatMessage.sender = 'nick1') or
(ChatMessage.sender = 'nick2') or
(ChatMessage.sender = 'nick3') or
(ChatMessage.sender = 'nick4') or
(ChatMessage.sender = 'nick5') or
(ChatMessage.sender = 'nick6')) and (ChatMessage.text = 'inv') then begin //u can change *inv* to any trigger u want
print(ChatMessage.sender);
engine.inviteparty(ChatMessage.sender);
print('Aproved, inviting!') ;
end;
end;
delay(1000);
end;
end;
begin //start of main body
Script.NewThread(@invitePM);
end. //end of main body