[QUES] Can't seem to find the problem

So I’m trying to make my own mod based on a fictional company and I can’t seem to get it to work for testing purposes. I keep getting 2 errors on start up:
http://gyazo.com/5bcf845966e03994db62b8c22c5bb6a5
http://gyazo.com/4f449024282de2723215f75ca2efab58

I sort of understand what it means, but I can’t figure out where in the script I’ve done it wrong. Can anyone help me?

var PSC = {};
(function () {
PSC.addPlatformIntroductio = function () {
var icon = ‘./mods/PSC/img/Introductio.png’;
GDT.addPlatform(
{
id: ‘10537DA1-58F1-4F23-8854-F1E2621933BJ’,
name: ‘Introductio’,
company: ‘PSC’,
startAmount: 0.100,
unitsSold: 0.290,
licencePrize: 50000,
published: ‘2/5/1’,
platformRetireDate: ‘7/6/1’,
developmentCosts: 20000,
genreWeightings: [0.8, 0.9, 0.8, 0.7, 0.7, 1],
audienceWeightings: [1, 0.8, 0.7],
techLevel: 1,
iconUri: icon,
events: [
{
id: ‘10537DA1-58F1-4F23-8854-F1E2621933BJ’,
date: ‘2/1/4’,
getNotification: function (company) {
return new Notification({
header: “Industry News”.localize(),
text: “Multi-millionaire and business tycoon who goes by the name of ‘Pastract’ has recently announced that he and his new company, Pastract’s Super Consoles (PSC) will be making his own home gaming console called Introductio. The console is said to be ready {0}, which makes critics believe that the console was ‘rushed’ in order to compete against Ninvento’s TES.”.format(General.getETADescription(‘2/1/4’, ‘2/5/1’)),
image: icon
});
}
}
]
});
}

PSC.addPlatformIterato = function () {
var icon = ‘./mods/PSC/icons/img/Iterato.png’;
GDT.addPlatform(
{
id: ‘10537DA1-58F1-4F23-8854-F1E2621833BF’,
name: ‘Iterato’,
company: ‘PSC’,
startAmount: 0.2,
unitsSold: 0.9,
licencePrize: 50000,
published: ‘7/4/1’,
platformRetireDate: ‘14/6/1’,
developmentCosts: 25000,
genreWeightings: [0.8, 0.8, 1, 0.7, 0.6, 0.9],
audienceWeightings: [1, 0.9, 0.8],
techLevel: 2,
iconUri: icon,
events: [
{
id: ‘10537DA1-58F1-4F23-8854-F1E2621833BF’,
date: ‘7/1/2’,
getNotification: function (company) {
return new Notification({
header: “Industry News”.localize(),
text: “After their first console, the Introductio, flopped 5 years ago, PSC are ready to give it another shot with their new console ‘Iterato’. Critics have praised PSC for making it attractive for everybody {0}.”.format(General.getETADescription(‘7/1/2’, ‘7/4/1’)),
image: icon
});
}
}
]
});
}

(I will most likely be changed the text, this was just an idea I had)

For the “PSC is not defined” error,

In the text, you put (PSC).
It seems JavaScript is reading this as if its code and not a text statment. Try removing the brackets.

Not sure about the other error

I’m sorry, example please? I only have the MC is not defined error and some other error that probably has nothing to do with my coding

@Flubberducky what are you talking about?

@noahc3 ill give that a try. If it is the case, then that should also explain the first error. Thanks.

Unfortunately that was not the problem. I’ve removed the brackets from the text but I still get the same two errors on start up.

Check your thing, you might be missing some brackets that bind the coding, that was my problem, the only problem I have no is when I start a game it says “ghg9 is not defined”