INTERNECION eh but I'm done, slurped back the disrespect 👍
Also maybe next time, when you deal with that spam, be more specific about what has ticked you off (obviously unless it's in the same post, but specifics are always more helpful), and don't just straight up "warn" so you don't come off as aggressive as all hell. I'm new to the forum stuff, so I did not know about all this crap, I did indeed read the rules, but the voting thing did not come to my mind as spamming before I found email tied to that in settings. (maybe you don't assume the worst?)
Do not understand what you're asking I'm done about
Downvoting? Yes, already said
Talking about this? For the love of God, yes I just wanted some damned help for the list thing, I never intended for all this crap, I never intended to spam to get moderator attention, never even knew you were a mod
I don't know what it's called but I need help with it
For clarity purposes: if I end a sentence with an emoji, I'm probably joking, and am aware that that sentence is stupid, so, don't comment on that
INTERNECIONLvl 62
- Edited
- Windows
Mellow So maybe next time don't start spamming stuff. Maybe next time read the obvious moderator badge on my username. Heed my warnings. Please do not think the worst and think that I am mad for no reason. Because we all know assuming stuff is not right in the first place. Yes it is spamming and yes this applies to upvotes s well so you know I ain't bias. And next time please listen to what I say when I say I don't want another controversy happening. Also I have seen you on this forum before. So what do you mean NEW?
INTERNECION again, votes did not come off to me as spam as I thought it'd be just like any other vote system: not spamming your emails
What "obvious moderator badge"? Is it the trophy? That's not very obvious. That gives more of a "yeah I'm a good Coder B)" impression
Sure I've been here before, but I'm new in the sense that I don't know how forums work (example: didn't know votes gave you emails for some god forsaken reason)
Also if you want me to simple listen to what you say: previous comment.
Be more specific. You can never be too careful, and it shouldn't take long to add a few more words.
Also "new" cuz I've only ever posted twice and pulled a mystman (disappearing)
INTERNECIONLvl 62
- Edited
- Windows
Mellow Bro votes are pretty important if someone is trying to communicate with you. But also one big controversy took place where someone nearly framed my ass for some odd reason and it all went out into a brawl. There is a reason why I have admin. I didnt ask for it, but I have it now and I rather keep the job.
You don't see the obvious BRIGHT YELLOW SHEILD BADGE on my pfp.
Y'know what whatever, it's fine
INTERNECION the "obvious bright yellow shield badge" is hidden behind the silver trophy, so no, I did not notice the "obvious bright yellow shield badge"
(still don't get how exactly votes on their own are helpful but whatever)
INTERNECIONLvl 62
- Edited
- Windows
Mellow You don't understand. The votes are somehow important to alot of people. Such as the one guy I told you who was spamming the hell out of it. Screwing with my notifications. Also some people can sometimes tell me to get back in by also doing that or tell me they like the idea when they dont feel like typing anything. THE VOTES ARE THERE FOR A REASON. If they weren't then why the hell are they implemented in this forum.
Also the thing is right THERE. How could you not see it. What did you think the GOLDEN RING on my pfp was? Wait what?
ackvonhuelioLvl 41
Mellow
hello and i will answer your question just gimme a moment to write
INTERNECIONLvl 62
- Edited
- Windows
ackvonhuelio Where have you've been all this time. You just teleported here huh? Been a bit. Whats good?
INTERNECION oh yeah, the grade thing. Strange
And eehh fair, now I understand.
Also I did not know that gold meant mod (I'm a newbie, don't know everything)
What's the "wait what" for?
ackvonhuelio oh ok cool thanks
INTERNECIONLvl 62
- Windows
Mellow The how did you not see the golden ring around my pfp
INTERNECION ah I see
Yeah, didn't think much of the gold ring since their ain't anything in my mind for what it could stand for
Now there's something B)
INTERNECIONLvl 62
- Windows
Mellow oh ok
ackvonhuelioLvl 41
So basically {stuff:0,stuff2:1,} is called an object and there basically what you CDO people know as sprites.
so if I had
var things = {
thing1: 10,
thing2: 20,
};
then I could say
things.thing1 which would be 10
in your case you have an array with a bunch of objects inside of it
so:
var acheivements = [
{
acheivement:'yey',
how:'do yey',
unlocked:false,
},
{
acheivement:'oops',
how:'do oops',
unlocked:false,
},
];
so to see if you have the first acheivement, yey, you would say
acheivements[0].unlocked
and it should be true or false(in this case false)
so now in case you didnt know a good way to go through every acheivement is
for(var i =0; i < acheivements.length; i++){
console.log('acheivement number '+i+' unlocked: '+acheivements[ i ].unlocked);
}
well hope this helps
ackvonhuelio oooh ok, thanks, that helped!
And the stuff at the end with all the "I" yeah I don't even have the slightest clue on how that works-
But thanks a ton!
VarrienceLvl 25
- Edited
Mellow to answer your question the term OOP (Object Oriented Programming) comes to mind, as far as i know there are 2 ways of accessing object properties super easy though there are most likely more than two i will only be showcasing 2 for the sake of simplicity, this is basically an example of what Ack did without the array
var obj = {
a: 0,
b: "a",
c: false
}
console.log(obj["a"] + " : " + obj.a)