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";
}
}
}
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:






