Hello ive tried to make so if i do !list i get a list appear of everyname and their id so i can do !kickc ID now this list should show everyperson 2 secounds inbetween.
Ive tried but failed this is what i have
OnAddonFrame
OnChatSay
Ive tried but failed this is what i have
OnAddonFrame
Code:
int counterX = 0;
public void OnAddonFrame(ServerClient Client)
{
if (counterX == 2*1000 / AddonFrameInterval)
{
counterX = 0;
foreach (ServerClient client in GetClients())
{
TellClient(Client.ClientNum, client.ClientNum.ToString() + " - " + client.Name, true);
}
}
}Code:
if (Message == "!list")
{
counterX = 2 * 1000 / AddonFrameInterval;
}



![[Image: compiling.png]](http://imgs.xkcd.com/comics/compiling.png)