Some sort of bug

  • 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 community!

    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.

Hexa

Member
Jan 21, 2018
11
0
0
I've developing /ban command.

Like my ingame name is "Hexa"
When I typed /ban H

It bans a player named "Hexa"

Any solution?
 
loop offline players and check if the player is online.
You can compare your argument to the player name to be sure you ban the specific player you want
 
loop offline players and check if the player is online.
You can compare your argument to the player name to be sure you ban the specific player you want
Looping offline players is never a good idea
[doublepost=1516516988,1516516957][/doublepost]to fix this you can instead take in a text and parse it as a player. Skript tries to autofill player names for you
 
Looping offline players is never a good idea
[doublepost=1516516988,1516516957][/doublepost]to fix this you can instead take in a text and parse it as a player. Skript tries to autofill player names for you
or just take offline player and check if it's online, it should work the same way.
 
Status
Not open for further replies.