MoMoT

Untitled

Apr 26th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. uses SysUtils, Classes;
  2.  
  3. var Fight_flag:boolean;
  4. IdBuff: integer;
  5. obj: tl2buff;
  6. charName:string;
  7. song:integer;
  8. s:string;
  9.  
  10. procedure inviteSWS;
  11. begin
  12. charName := 'Perfect';
  13. song := 123123; //ID Song
  14. while 1<>2 do begin
  15. delay(150);
  16. if not User.Buffs.Byid(song, Obj) or (Obj.EndTime<1000)
  17. then begin
  18. Engine.MSG('MPSBuff','Приглашаю в пати СВС`а', 255);
  19. Engine.InviteParty(charName);
  20. Delay(12000);
  21. Engine.MSG('MPSBuff','Кикаю из пати СВС`а', 255);
  22. Engine.DismissParty(charName);
  23. end;
  24. end;
  25. farm;
  26. end;
  27.  
  28.  
  29. procedure farm;
  30. begin
  31. delay(100);
  32. print ('Жду пропажи Сонга');
  33. end;
  34. begin
  35. repeat
  36. inviteSWS;
  37. until engine.status = lsoffline;
  38. delay(1000);
  39. end.
Advertisement
Add Comment
Please, Sign In to add comment