Jump to content

AFK skript


PortableBard

Recommended Posts

There are two ways to do this but this is the best way is this:

every 5 minutes:

     loop all players:

          if “%region at loop-player%” contains “afk”:

               send “yes” to loop-player

          else:

               send “no” to loop-player

Link to comment
Share on other sites

  • 2 weeks later...
On 12/20/2022 at 11:45 AM, M4XYW4XY said:

That code still doesn't work, I'm getting a warning that it doesn't understand the 'every 5 minutes' section.

That's weird. Send screenshot? the 'every 5 minutes' event is built into Skript its self..

Ensure it is up to date, latest version of Skript that works with your version of Minecraft. Additionally, your spacing may be off and it may be incor rectly pointing to that line as the origin of the error. Space it properly, 4 spaces or 1 tab on each line. Also the guy who sent that code has quotations that'll break the entire thing, replace the quotations with the quotations on your keyboard. Essentially just replace them. 

""

rose city STICKER

RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaR

i code, animate, develop, UI design, learn, and adapt, as well as make servers, of course

💐Joined Minehut sometime in 2014
💐VIP sometime in 2018
💐Legend in January 2021
💐Helper on 4/11/2021
💐♥ (Retired) on 5/17/2021
💐 Moderator on 8/18/2023

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...