Advertisement
qsvn

Untitled

Jan 20th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. using System;
  2. using System.Linq;
  3. using System.Collections.Generic;
  4. using NewWidget.Core;
  5. using NewWidget.Core.Native;
  6. using NewWidget.Core.Scripting;
  7.  
  8. public class Script : ScriptBase {
  9.  
  10. public override void OnStart() {
  11. base.OnStart();
  12.  
  13. CreateTimer(
  14. 500,
  15. () => Client.Zone == Zones.Siedge && Me.BuffEndtime(2398) < 1000 && (Me.StateFlags & 0x40000) != 0x40000,
  16. () => { Client.UseItem(10157); Wait(2000); }
  17. );
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement