AMONGUSLOVER1732 Posted October 27, 2022 Share Posted October 27, 2022 So idesigned this skript but it doesnt work when your offline, i tried to make it but it just does a bunch of errors. can someone help me? much love every 24 hour: execute console command "/crate key give * daily 1" Link to comment Share on other sites More sharing options...
Outspending Posted October 29, 2022 Share Posted October 29, 2022 (edited) i would recommend using a variable for this shown here: command /daily: trigger: if {cooldown::%player's uuid%} isn't set: daily(player) else if (difference between {cooldown::%player's uuid%} and now) is more than 24 hours daily(player) else: message "&cYou cannot do this command for another &f%difference between {cooldown::%player's uuid%} and now%!" to player function daily(player: player) { set {cooldown::%{_player}'s uuid%} to now # daily code } EDIT: idk if this works, i haven't touched skript in so long Edited October 29, 2022 by oShadxw 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