#swear log

1 messages · Page 1 of 1 (latest)

wraith bane
#

Make a check for swear words

#

Make an if statement

#

And check if msg contains x

#

You already used if statements

#

Thats fine

#

Then you can make a list of swears

#

What dont you know

south yoke
#

WHAT TO DO

#

I dont know what to type or where to type

wraith bane
#

Add an if statement to only log when the message contains a swear word

south yoke
#

I dont know how

wraith bane
#

Why did you delete everything

south yoke
#

wait

wraith bane
#

Why are you looping all players

#

Also

#

!format

long minnowBOT
#

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
```

south yoke
#

OH

#

I DID IT

#

Thanks Phill

wraith bane
#

Ok then

young basin
# south yoke WHAT TO DO
on chat:
  clear {badboywords::*}
  add frick to {badboywords::*}
  if message contains "%{badboywords::*}%":
    send %message% to all players where [player has op]```
south yoke