awesomeme337666 Posted March 7, 2022 Share Posted March 7, 2022 (edited) Every time I reload the skript it says "Can't understand this condition: '{_waitedcommandkick} is less than {waittempbanned.%player%} seconds' Line: if {_waitedcommandkick} is less than {waittempbanned.%player%} seconds:". can anyone tell me how to fix it please command /tempban [<player>] [<timespan>] [<string>]: 2 trigger: 3 set {tempbanned.when.%arg-1%} to now 4 set {tempbanned.%arg-1%} to true 5 set {waittempbanned.%arg-1%} to 10 6 set {tempbanned.reason.%arg-1%} to arg-3 7 kick player due to "reason: %{tempbanned.reason.%arg-1%}%" 8 9 command /untempban [<offlineplayer>]: 10 trigger: 11 set {tempbanned.%arg-1%} to false 12 on join: 13 set {_waitedcommandkick} to difference between {waittempbanned.%player%} and now 14 if {_waitedcommandkick} is less than {waittempbanned.%player%} seconds: 15 set {tempbanned.%player%} to false 16 if {tempbanned.%player%} is true: 17 kick player due to "reason: %{tempbanned.reason.%player%}%" 18 Exit Save Edited March 9, 2022 by awesomeme337666 gave up Link to comment Share on other sites More sharing options...
Disvand Posted March 7, 2022 Share Posted March 7, 2022 why do u have seconds after the variable? Vip: 20/12/2021 Skript is fun, I am currently working on SkChat and making stuff for market rank! | NEWEST VERSION | https://forums.minehut.com/topic/51451-skchat-v11-release/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now