KamikazeSripterul
Well-known member
- Joined
- Jun 30, 2019
- Messages
- 353
- Reaction score
- 23
Hello dear scripters,
I want to make a script, where if you type command (/block <id>), it will get that user's name by ID and then make disappear any line that contains that player name. My problem is that I am not sure how to do this for multiple players. What I was thinking is to have an array, and loop through that array which contains players' names and then hide the line if it contains the name, but Sanny Builder docs doesnt help with explaining how to loop through an array, and I also quite don't understand how to make an array in the first place.
Thank you so much for you help!
I want to make a script, where if you type command (/block <id>), it will get that user's name by ID and then make disappear any line that contains that player name. My problem is that I am not sure how to do this for multiple players. What I was thinking is to have an array, and loop through that array which contains players' names and then hide the line if it contains the name, but Sanny Builder docs doesnt help with explaining how to loop through an array, and I also quite don't understand how to make an array in the first place.
Thank you so much for you help!