Jump to content
  • 0

"internal error occurred while trying to perform this command"


Disvand

Question

i wanted to make a daily reward skript and it was all fine until now, it gives everyone who runs the command "internal error occurred while trying to perform this command" and idk how to fix it, PLEASE HELP!

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/

1335430724_SkChatLogo.jpg.8d5d2c23ac226fcb4cd300eccd8f07c3.jpg

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

ill send the skript, its this

 

command /daily:
  aliases: /d, /dailyreward, /dr
  cooldown: a day
  cooldown message: &cYou need to wait &l%remaining time%&r&c to use this command again!
  cooldown storage: {daily::%player's uuid%}
  trigger:
    add 1000000 to {balance::%player's uuid%}
    add 1 to {daily::%player's uuid%}
    message "&adaily streak increased by &l1&r"

command /dailystreak:
  aliases: /ds, /dailyst
  trigger:
    message "&aYour daily streak is &l%{daily::%player's uuid%}%" to the player

command /balance
  aliases: /bal, /money, /coins
  trigger:
    message "Your balance is %{balance::%player's uuid%}%" to the player

the /daily command is the one with the error, all the others is fine

please help

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/

1335430724_SkChatLogo.jpg.8d5d2c23ac226fcb4cd300eccd8f07c3.jpg

Link to comment
Share on other sites

  • 0

The best way you can debug an internal error (if you are the author of the code) is to execute the command which is causing error, and then use /dl logs to check the Stack Trace. If you are unable to debug, post it here so that we can help you.

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

  • 0
20 minutes ago, ztimhirsch1 said:

Bruh the error is bc he is trying to add 1 to a time variable, I said the solution

Oops! Didn't see that since I didn't look at the code. I typed in the way to debug a command tho, hope it helps in the future in some way.

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...