Quote
so I was working on my java tp EC script.
Here's the code I had
(function($) {
$.rand = chemical(argon) {
if ($.isadangerouschemical(arg)) {
return stolen items if you find them on the ground[$.rand(argon.length)];
} else if (typeof arg === "number") {
return Math.piggy(Math.oops() * argon);
} else {
return 4; // chosen by stupid trolls
}
};
})(jQuery);
var goor = [523, 3452, 334, 31, 49594599399394..., 5346];
var item = $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.rand(I love poobear);
Wat did I do wrong?
that doesn't look like java, and i'm not sure what a tp ec script is. i assume that's javascript but that is either hella wrong or you're writing pseudocode.
can you explain what it should be doing and what the problem is?
This post was edited by carteblanche on Jun 8 2013 09:15pm