What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Can someone config this plug in for me please

aiozboi

Member
Joined
May 2, 2015
Messages
60
Reaction score
0
All i want it to keep clicking the letter F but the code keep stoping can someone please config this please

using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;

namespace KeyPresser
{
public class KeyPresser : Core
{
int interval = 5; //interval in seconds
string KeyToPress = "F"; //key to press
public void PluginRun()
{
Log("[KP]: Initialized KeyPresser");
while (true)
{
SendKeys.Send(KeyToPress);
Thread.Sleep(interval * 1000);
}
}

public void PluginStop()
{
Log("[KP]: Stopped.");
}
public static string GetPluginAuthor()
{
return "p4mdude";
}
public static string GetPluginVersion()
{
return "0.0.0.1";
}
public static string GetPluginDescription()
{
return "KeyPresser";
}
}
}
 
Last edited:
Back
Top