[MadCommands] Command CoolDown

Hey there!
Somebody asked me to make this tutorial.
So here it is!


First you need to create 2 Commands!

/cmd create steak
/cmd create cooldown

When you did that the tricky part begins:

/cmd add steak load %cooldown%
/cmd add steak if %cooldown%[%p%] = 0 then goto 6
/cmd add steak let %seconds% = %cooldown%[%p%]
/cmd add steak message %p% you need to wait %seconds% Seconds to use this command again!
/cmd add steak exit
/cmd add steak ascon /give %p% steak
/cmd add steak let %cooldown%[%p%] = 60

Note: You can change 60 in whatever you want

/cmd add steak save %cooldown%
/cmd add steak /cooldown

Then the cool-down command:

/cmd add cooldown load %cooldown%
/cmd add cooldown let %cooldown%[%p%] = %cooldown%[%p%] - 1
/cmd add cooldown sleep 1
/cmd add cooldown save %cooldown%
/cmd add cooldown if %cooldown%[%p%] != 0 then goto 2
/cmd add cooldown exit

twitter: @datalion_
Mail: [email protected]



Any problems?
Feel free to contact us on: http://support.leet.cc

@datalion
Amazing Tutorial! I may use this for kits, it’s much simpler then the one I do

Hello Fello Earthlings 😁 Have a wonderful day

Nice, That may be extremely useful!

Twitter- ShiningVex
Discord- TheShiningVex#7277

Yamburgers or Turkey Burgers?

-2

Doesn’t even work, unusefull.

Sometimes, people may forget what you said, people will forget what you did, but people will never forget how you made them feel. — Maya Angelou

Always happy to help! Visit my profile for more information how to contact me!

@hypnify whut how? it worked on my server…

twitter: @datalion_
Mail: [email protected]



Any problems?
Feel free to contact us on: http://support.leet.cc

@hypnify said in [MadCommands] Command CoolDown:

Doesn’t even work, unusefull.

at least say which line doesn’t work…

Hello Fello Earthlings 😁 Have a wonderful day

@hypnify said in [MadCommands] Command CoolDown:

Doesn’t even work, unusefull.

Screenshots? Error message and line?

IshYaBoiMagmaCreeper
Join my servers:


Subscribe to me on YouTube: MagmaCreeper YT

Great tutorial! This will definitely stop kit spammers and “/spawn” users in PvP! Upvoted.

ur meme collection is a spec in my gallery

@datalion This is an awesome tutorial! Much needed-thanks!

Join this Amazingly Fun Discord ~Caketropolis~ https://discord.gg/V73eTwK

alt_text

Awesome it’s works really good
There is only 1 small thing that player need to know
About this
Player have to run the commad
/cooldown one time only before running the command
/steak
Then after that the command works really good

Time kind of glitches out at some points.

  • Discord: Freddo#2539
    If you have any questions, don't hesistate to ask.

@datalion
Hey how to reset the time
When the time still running how to cancel the running time

Log in to reply

Looks like your connection to LEET Forums was lost, please wait while we try to reconnect.