Skip to content

A.R.S Events

Joshua Cleland edited this page Mar 7, 2017 · 3 revisions

You can have Echo link an A.R.S trigger to Events.

Let's take a look at the keys:

{Event:Join}         // When someone joins the server.
{Event:Leave}         // When someone leaves the server.
{Event:MemberUpdate}    // When a member is updated.
{Event:RoleCreate}    // When a role is created.
{Event:RoleDelete}    // When a role is deleted.
{Event:ChannelCreate}    // When a channel is created.
{Event:ChannelDelete}    // When a channel is deleted.
{Event:ChannelUpdate}    // When a channel is updated.
{Event:RoleUpdate}    // When a role is updated.
{Event:GuildUpdate}    // When the guild is updated.

Now let's learn how to use these Event Keys to do something cool!
The example below links an A.R.S to the event: Join
This means when someone joins the server Echo will do something!

STEP #1:

.auto jnevnt={init}
   {protect}
   {Event:Join}
   {ars:mchk101}

Alright so what we are doing is protecting the key. This means no one can call it or trigger it via typing. Than we want to link to the Join Event And last we want to link to another trigger. Read below!

Now we need to make another trigger. This time we encrypt it!

STEP #2:

.auto64 mchk101={init}
   {protect}
   {sleep:15m}
   {role:
      Member
   }{pm}
   Hey user! I see you have been here for 15 minutes!
   I've added you to the role Member!

Alright that's it! Now let me explain what we are doing. We're protecting the a.r.s rule so no one can call it IMPORTANT We're making echo sleep for 15 minutes, if they user is still in your server
Echo will give them the role Member and PM them alerting them.
auto64 is used to encrypt your response. To stray from peeking eyes.
The owner can also .inspect the trigger to make changes etc..

Clone this wiki locally