The Meaning of Life, the Universe, and Everything.
Join Date:
8/11/2014
Posts:
50
Minecraft:
Ashyon
Member Details
okay, i guess. I can do that. I also screwed it up a little because apparently it isn't a string variable. So I needed to use mob = mob.toString.replace(/\s+/g, '');
Rollback Post to RevisionRollBack
15 minutes into coding and chill and it gives you this look:
usage: /mob sheep sheep sheep
You can use my code in your own scripts, but only as long as you mention me.
Edit: Sorry screenshots are days late but I forgot.
Download
---------------------------------
|
|
---------------------------------
It would be easier to do like this:
Well, nice script.
And i meant that your command will look like this:
So you can pass the whole array to the function without need to do this:
var i = 0; mob = mob.replace(/\s+/g, ''); stack = mob.split(",");Please update to 13.0 i love this mod