Ok, So, What I Want, Is, For Example,A Character Says: "Hey,{PCNAME},What's Up? What, You Scared Or Something? Well, Don't Be." And, If , Markiplier Plays It,It Wil Go Through Your Chrome, And Check For His Channel On "Signed In" On Youtube, And, He'll Say, "Hello, Your Name Is Markiplier." So, What I'm Trying To Say, Is....
I Want A Script That Will Turn On A Switch If You're Signed In On YouTube Markiplier, Etika, Etc. Or, Say Your PC Name.
Any Help Would Be Appreciated, Thanks!
You should probably try and rephrase all of that so it's easier to read and understand. I really have no idea at all what you're asking for. There is a Script Requests forum if that's what you're after, but you really need to make your request more understandable.
Also, try not using upper case to start every.single.word - that's just annoying and adds to the difficulty in reading.
You're in the wrong place, my friend. What you need is to find someone that works with APIs for Youtube, Chrome, whatever - very unlikely to find experts on that around here; this is much more common in the mobile space.
They want a script that will check YouTube's login cookies to see if they are signed into specific YouTube accounts.
And to answer your question: It's not worth the obnoxious amount of effort required to make sure it's the right account. If you want to send specific people a specific copy of your game, send them a specific copy of your game. Not only would what you want involve figuring out the data format of separate programs (Chrome, Firefox, etc storage format for their cookie files), it would be a massive breach of people's privacy, and then you'd have another large time sink trying to figure out how to actually verify you're looking at the specific person's account. The account name won't be enough since with Google+ you can change your name to whatever.
What you want is just not realistic.
Well, I'm sorry. I honestly meant checking details,as in cookies, other games, Etc. (Think Psycho Mantis.) *Except, he doesn't say Snake, but, instead, he says either your PC name, or, your YouTube name for some select YouTubers. This is meant to scare the player, though. So, I hope that you guys understand now.
I Really Can't Send Them A Copy. Too Predictable.
You won't be able to read their cookies. The best chance you have of that is forcing them to play the game via Web, hoping they use the same Web browser to login to YouTube, send a request in to YouTube and parse the response to find out who is playing. But that's really a bad system and is subject to break when YouTube inevitably updates.
Web would also prevent you from getting the computer name, as the web has no such information.
Well , then.... Let's see.... Would I at least be able to see what they've played? Ex. "Ah, {PCNAME}, You Like UNDERTALE, Don't You?"
Hmmmm.... Well, then.... Can you try to explain how I would get such an API?
API is a name for common and public interfaces in programming. They're usually handled by the site/company providing them.
So if you want for example an API for facebook, you need to ask them or check their public help files. If you want the Windows API for accessing computer data, you need to check the Windows Programming Documentations and so on.
Just remember one thing: most computer programs are written to prevent access outside their options and outside their API - that is why you can't get out of for example a browser box to read the computer name. And this is done because every such break is a potential point for malware and viruses to infect the computer - because not all API calls are done with good intention, and the people providing the API cannot know who will call it.
So, does this mean that I have to make it a WEB-BASED game?
That depends on what exactly you want to access - if you want to access the facebook API, then it has to be webbased - but at the same time webbased will block the direct access to windows API because browsers are sandboxed and all antivirus programs will block every try to get out of that sandbox.
If you want to access computer data, you have to make it a local exe-variant - and then it will be impossible for you to access the facebook data.
What you want is extremely difficult, and even if you pull it off (which will not be easy) you can't have everything in it.
Well Then, I'll just decide to go with reading PC name, and certain select previous games.