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 2018-01-18 16:31:37

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,206

Keep track of kicked players

I'm making a "!forgive" command in my bot and I want it to send a pm to the player if the player has been forgiven or if the player isn't banned from the world. Is there a list somewhere in the server with kicked players I can receive? Can't find anything about kicking in the protocol except the "info" message.

Offline

#2 2018-01-18 16:37:48

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: Keep track of kicked players

how are you going to send a PM to somebody when they are kicked and no longer in the world?


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#3 2018-01-18 16:45:59

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,206

Re: Keep track of kicked players

Xfrogman43 wrote:

how are you going to send a PM to somebody when they are kicked and no longer in the world?

The player who did the command gets the pm, isn't that obvious lol

Offline

#4 2018-01-18 18:33:02

LukeM
Member
From: England
Joined: 2016-06-03
Posts: 3,009
Website

Re: Keep track of kicked players

Generally if you can see something in game, it means there is a message for it, and if you dont then there isnt.

In this case, you can probably just send the forgive command, then wait for the *SYSTEM message saying whether it was successful or not:

k2aUiDVqTQCqYutI08rnrw.png

Offline

Wooted by: (3)

#5 2018-01-18 19:39:08

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,206

Re: Keep track of kicked players

LukeM wrote:

Generally if you can see something in game, it means there is a message for it, and if you dont then there isnt.

In this case, you can probably just send the forgive command, then wait for the *SYSTEM message saying whether it was successful or not:

https://image.prntscr.com/image/k2aUiDV … 08rnrw.png

Oh that's a good idea, thanks //forums.everybodyedits.com/img/smilies/tongue

Offline

Wooted by: (2)

#6 2018-01-19 09:44:43

soniiiety
Member
From: peaceful dojo
Joined: 2016-02-10
Posts: 1,747

Re: Keep track of kicked players

sounds like a good idea

Offline

soniiiety1516351483692998

Board footer

Powered by FluxBB

[ Started around 1713486850.103 - Generated in 0.133 seconds, 12 queries executed - Memory usage: 1.42 MiB (Peak: 1.54 MiB) ]