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