D
Deleted member 6377
Skript Version: Skript 2.2 (dev20c)
Skript Author: Bensku
Minecraft Version: 1.8.9
---
Full Code:
Basically if you don't understand this I'm trying ot make a command where if you type /creeper it will spawn a creeper at your location and if you put a number after /creeper (/creeper 10) it will spawn that number (10) of creepers.
Errors on Reload:
Other Useful Info:
Addons using (including versions):
SkRayFall 1.9.3
sKQuery 3
Troubleshooting:
Have you tried searching the docs? Yeah
Have you tried searching the forums? Well, Google
What other methods have you tried to fix it? Trying %arg 1%, arg 1, argument, <player>, <amount>, <number>
I also tried doing the Loop thingy but I'm still a Skript noob so I'm not good at it. I tried to make it so the server loops the 'spawn 1 creeper' %arg-1% amount of times but that didn't work ;P
Skript Author: Bensku
Minecraft Version: 1.8.9
---
Full Code:
code_language.skript:
command /creeper [<text>]:
permission: creeper.use
permission message: &cNo permission!
Usage: &c/creeper
executable by: players
trigger:
if arg-1 is not set:
spawn 1 creeper
send "&d1 &bCreeper spawned."
else:
spawn %arg-1% creeper
send "&d%arg-1% &bCreepers spawned."
Basically if you don't understand this I'm trying ot make a command where if you type /creeper it will spawn a creeper at your location and if you put a number after /creeper (/creeper 10) it will spawn that number (10) of creepers.
Errors on Reload:
code_language.skript:
[00:58:49 ERROR]: '%arg-1% creeper' is not an entity type (creeper.sk, line 12: spawn %arg-1% creeper')
Other Useful Info:
Addons using (including versions):
SkRayFall 1.9.3
sKQuery 3
Troubleshooting:
Have you tried searching the docs? Yeah
Have you tried searching the forums? Well, Google
What other methods have you tried to fix it? Trying %arg 1%, arg 1, argument, <player>, <amount>, <number>
I also tried doing the Loop thingy but I'm still a Skript noob so I'm not good at it. I tried to make it so the server loops the 'spawn 1 creeper' %arg-1% amount of times but that didn't work ;P