Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 Before February 2015

Assossa
Guest

Need Help with a bot

I am trying to make a bot for ee that will auto-kick guests and stuff. I already know how to use c# and player.io, but I do not know what functions and stuff that ee uses. Please help me and if you do I will put your name in the credits for the bot.

#2 Before February 2015

Buzzerbee
Forum Admin
Joined: 2015-02-15
Posts: 4,575

Re: Need Help with a bot

First off, if you're gonna make a bot, don't release it.

Kick anyone whose name starts with "Guest-"
Because guests are the only people with a hyphen in their name.

Just convert the User ID (int) into the Username and make an if statement.

if (username code goes here).StartsWith("Guest-")
{
       Say("/kick (username code goes here)");
}

etc...

(I'm not sure how to convert the user ID into the username string at the moment; ask another programmer. But when you do then I think you'd put the if statement under the "add" packet.)

Hope this helps, and remember, do NOT release any bots, please.

Last edited by BuzzerBee (May 20 2012 10:44:22 am)


TdQRyz3.png
https://wiki.everybodyedits.com/images/5/5d/135_bee

Offline

Assossa 1423660752300680

Board footer

Powered by FluxBB

[ Started around 1738712991.6645 - Generated in 0.032 seconds, 12 queries executed - Memory usage: 1.37 MiB (Peak: 1.46 MiB) ]