d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > My Script
Add Reply New Topic New Poll
Member
Posts: 15,391
Joined: Apr 11 2013
Gold: 0.00
Jun 8 2013 09:08pm
nvm fixed it

This post was edited by Darkkillz on Jun 8 2013 09:09pm
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Jun 8 2013 09:14pm
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
Member
Posts: 6,481
Joined: Jul 5 2009
Gold: 0.70
Jun 9 2013 01:18pm
Quote (carteblanche @ Jun 8 2013 11:14pm)
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?


It's jquery
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll