#help please

1 messages · Page 1 of 1 (latest)

ashen void
#

on chat:

if message contains "racist thing here":

execute console command "ban %player% Hard Racism"

if message contains "racist thing here":

execute console command "ban %player% Racism"

rigid wedgeBOT
#

:technologist: Code Blocks

To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:

```
Code here
```

grave gazelle
#

you need to indent the line after a colon to specify what lines are under the colon line
ex.

  if player is holding dirt:
  send "1" to player
  send "2" to player```
in this skript, it's not clear if both messages will send when the player is holding dirt or only one of the messages
so, you have to indent to specify:
```on chat:
  if player is holding dirt:
    send "1" to player
  send "2" to player```
now the skript knows that message 1 will be sent if the player is holding dirt and message 2 is always sent
echo pollen
#

^

#

I would also add that you can use skripts ban/kick effects, no need for console commands