Skript "<none>"

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ValleyHigh

Member
May 31, 2017
4
0
0
21
Hallo,

ich habe ein Stats Skript, nur wenn man 0 Kills oder 0 Tode hat, steht da, wenn man /stats macht <none>, statt eine 0. Kann mir bitte jemand helfen, wie ich das fixen kann? :/

Liebe Grüße,
ValleyHigh

Screenshot_198.png
 
Hallo,

erstmal vielen Dank, für deine flotte Antwort. Wenn ich /stats eingebe, steht da wie gewohnt "0", aber wenn ich /stats (username) eingebe, steht da halt <none>, statt 0..

Liebe Grüße,
valleyhigh
 
Hey,

sorry if this english is Bad, but i put it in Google translate:

I have a stats script, only if you have 0 kills or 0 deaths, if you do / stats <none> instead of a 0. Can someone please help me how I can fix this? : /

Best regards,
Valley high
 
Wäre es möglich den Code zu senden?
Dann kann ich nochmal drüber schauen.

Would it be possible to send the code?
Then I could look again over it.
 
code_language.skript:
send "%{kills::%player%} / 1%"
send "%{deaths::%player%} / 1%"

It's important, that these variables are parsed as integers/numbers.
If it's not set, it will automatically show 0.
 
  • Like
Reactions: ValleyHigh
Status
Not open for further replies.