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.
Pages: 1
Topic closed
My bot detects if a player gets a crown, remove it, then kills all the player so it can build the next level. But it just constantly kills all the players.
Here is the code.
if (m.Type == "k")
{
con.Send("say", "/removecrown");
Thread.Sleep(27);
con.Send("say", "/killemall");
}
Offline
What's the level you're using?
Offline
What's the level you're using?
PW_n6sqv8SbkI?
Offline
Lol, con.Send("say", "/killemall"); "killemall" "kill em all" "kill them all"
Could do /help /killemall
It... kills them all...
/kill + players[m.GetInt(0)]
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
Lol, con.Send("say", "/killemall"); "killemall" "kill em all" "kill them all"
Could do /help /killemallIt... kills them all...
/kill + players[m.GetInt(0)]
no, no. I mean that even though a player doesn't get the crown everyone dies. I want everyone to die when a player gets the crown. But I know what the problem is, /removecrown makes the "k" message go off and keeps killing the players.
Offline
Good catch, but that's actually the intent of the developer. Odd wording, but delving deeper provides a different solution.
Paradox, the detail you're missing is the effect of /removecrown. How does EE tell the users that no one has the crown?
Edit: Well, you figured out half of it. You could've saved me some writing by actually giving a complete description in the OP. (Seems no one does that these days)
At any rate, if anyone scoffs at my response with "duh we knew that" just go.
Offline
@humz duh we knew that
Like humz said, /removecrown makes the id -1 so you have to do something about that :q
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
Pages: 1
Topic closed
[ Started around 1732460630.1831 - Generated in 0.038 seconds, 13 queries executed - Memory usage: 1.48 MiB (Peak: 1.62 MiB) ]