Solved Automatic Demote System

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Oct 3, 2017
19
2
3
25
Version: 1.8

Code: https://pastebin.com/b3twtDrA


Error: I've been trying to code to where if a player is staff [has permission litebans.warn] and hasn't logged in for x time their rank is removed [execute console command "x"], i had this but it either doesnt do anything when they log in, or it demotes them either way if it is if {join} is less than 14 days: or if {join} is more than 14 days:
[doublepost=1508188238,1508181226][/doublepost]I actually figured it out myself, did a bit of recoding and found this worked
https://pastebin.com/ahYBYKzE
 
Status
Not open for further replies.