Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int PrevTime = System.Environment.TickCount;
- public override void Pulse()
- {
- if (System.Environment.TickCount-PrevTime >= 1500; // miliseconds
- {
- Lua.DoString("RunMacro('MacroNameHere')");
- PrevTime = System.Environment.TickCount;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement