using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace DefaultNameSpace{
public class DefaultClass : Core
{
public static string GetPluginAuthor()
{
return "Silver";
}
public static string GetPluginVersion()
{
return "1a";
}
public static string GetPluginDescription()
{
return "Says something over faction chat over and over again with a preset interval";
}
int interval = 900; //Interval in seconds between the messages. (default = 900 -> 15 minutes)
String text = "WTS [Ayanad Summer Sword], /w me!";
public void PluginRun()
{
while(true){
Say(ChatType.Ally, text);
Thread.Sleep(interval * 1000);
}
}
}
}