Advertisement
Guest User

Untitled

a guest
Sep 25th, 2011
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.14 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Styx.Plugins.PluginClass;
  6. using Styx.Helpers;
  7. using Styx.WoWInternals;
  8.  
  9. namespace ClickIt
  10. {
  11.     public class ClickIt : HBPlugin
  12.     {
  13.         private string macro = "/2 {Diamond}{star} R1/3k+ experienced players offering 2200, 2400, 2700 & Gladiator or any custom rating to any class in Arena & RBGs!{star}{star}Add on Skype for prices/details - bradz92. Carries done in 2 hours to 2 days.{star}{diamond}";
  14.  
  15.  
  16.         private readonly WaitTimer _Timer = WaitTimer.ThirtySeconds;
  17.         public override void Pulse()
  18.         {
  19.             if (_Timer.IsFinished)
  20.             {
  21.                 _Timer.Reset();
  22.                 Logging.Write("Running macro...");
  23.  
  24.                 Lua.DoString("RunMacroText(\"{0}\")", macro);
  25.  
  26.                 Logging.Write("RunMacroText(\"{0}\")", macro);
  27.  
  28.             }
  29.         }
  30.  
  31.         public override string Name { get { return "ClickIt"; } }
  32.  
  33.         public override string Author { get { return "Trinity04"; } }
  34.  
  35.         public override Version Version { get { return new Version(2, 0, 0, 0); } }
  36.  
  37.     }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement