Prebuilt Examples by our Staff

Below will be a bunch of prebuilt A.R.S rules you can add straight to echo along with explanation of the rule below.

**All examples on this page were added by Echo's Staff.**

## Make command to clean just your messages

```
--auto &--clean {params}={tclear:{params}}

```

*Use this rule:*

```
--clean 15

```

*Description:* This command will clean 15 of whoever types the command's messages from the channel *100 max*

## Give different clans different prefixes in their names

```
--auto &--clan1={nickname:[CL1]-{/user}}

```

```
--auto &--clan2={nickname:[CL2]-{/user}}

```

*Use these rules:*

```
--clan1

```

```
--clan2

```

*Description:* Whoever types *--clan1* will get the prefix [CL1]-Username and *--clan2* gets [CL2]-Username

## Give someone a role (*If they don't have it already*)

```
--auto &--clan1={role:Clan Wars1}You've recieved the Clan Wars role.

```

*Use this rule:*

```
--clan1

```

*Description:* If someone types *--clan1* they will receive the role *Clan Wars1*

## Take a role away from someone

```
--auto &--clan1={take:Clan Wars1}I've taken the role Clan Wars1 from you.

```

## Set up a registration/rules agreement with ARS

EchoParadoxuM (talk) 22:35, June 15, 2016 (UTC)

*Set up requirements:*A rules page and a rank for newcomers.

```
--auto &!agree={if:channel==Rules\_page}{req:newcomer}{role:member}{take:newcomer}{del}{tclear:100}{log:190169641694396416}{user} has proven himself to be a worthy ally! Welcome to our brotherhood!

```

*Optional addition if you want Echo to have an output in the rules page (keep track of who joined recently?):*

```
{msg:Thank you for accepting the rules, {/user}}

```

***Trigger:***

```
!agree

```

*Description: When the user types !agree into the channel you set aside for them to accept your rules, Echo will check if the message was posted within that channel, he will validate their role to make sure they are indeed a newcomer, he will give them the member role and take the newcomer role, he will delete the target users message and as a failsafe (in the event the user typed anything else other than !agree to start off with) he will clear all messages by that user for 100 messages and then log into another chat (probably general?) that this user has accepted and that they are now a member. Full document with screenshots found here*

## Delete blacklisted words

EchoParadoxuM (talk) 22:35, June 15, 2016 (UTC)

*Set up requirements:*A list of bad words (Preferably in CSV (comma separate variables) format) (Optional a channel for logging bad words)

```
--auto &={exc:bots,bot,server moderator,moderator,administrator}{find:all,of,your,blacklisted,words,here,make,sure,you,keep,the,comma,like,this,with,no,spaces,but spaces,like this,are acceptable}{del}

```

***Optional addition**: If you want Echo to repeat what the user has said but deduct the bad words, copy and paste your {find:} key and rename {find} to {replace:}*

```
{replace:all,of,your,blacklisted,words,here,make,sure,you,keep,the,comma,like,this,with,no,spaces,but spaces,like this,are acceptable}{with:#~!?£%}

```

***Optional addition**:* Log the bad word into a hidden channel

```
{redirect:channelID}**{user} has just said a word on the banned list! They said:** {params}

```

***Optional addition**:* Output a message directly to the user in the channel the word was found. (Msg: is only to be used if you're also using the {redirect: key}, if not just remove the {msg: } characters.

```
{msg:{user}! We do not allow people to say bad words here, naughty!}

```

***Optional addition**:* Add a warning point onto the user

```
{warn:1}

```

***Trigger:***

```
Any words on the blacklist. Every single word typed will be scanned by Echo for them.

```

*Description: If echo detects any word found in the {find} key he will log it into a new channel and perform certain actions.*

## Create a sleeping clear command

Created by [Support] Julian 22:27 27 June 2016.

*Set up requirements: None*

```
--auto &--sleepyclean {params}= {sleep:15m} {tclear:{params}}{req:Bot Commander} I have deleted {params} messages.

```

***Optional addition**: You can change the sleeping time*

```
You can change "15m" to a different value.

```

***Optional addition**: Change the role required to your choosing*

```
You can change "Bot Commander" to a different value.

```

***Optional addition**:*You can use tclear instead to make it delete a specific user's messages

```
{tclear:{params}}

```

***Example of a different version:***

```
You can have different commands like "--auto &--sleepyclean2 {params}= {sleep:30m} {clear:{params}}{req:Bot Commander}"

```

***Trigger:***

```
&--sleepyclean {params}

```

*Description: time delayed deletion command*