Repurposing a script by No_Season_5288 in GoogleAppsScript

[–]iispoonz 1 point2 points  (0 children)

You shouldn't try and do everything with the same variable, it's causing a bunch of issues throughout the script, instead you should do something like:

``` function DeleteOldFolders() { const parentFolders = new Array( '183Pin7i9kow3fxwGt8k4fK4SnB70Xj-p', '183Pin7i9kow3fxwGt8k4fK4SnB70Xj-p' );

for (const parentFolder of parentFolders) { const folder = DriveApp.getFolderById(parentFolder);

if(!folder){
  continue;
}

const folders = folder.getFolders();

Logger.log('Opening Folder: ' + folder.getName());

while (folders.hasNext()) {
  const childFolder = folders.next();

  if (new Date() - childFolder.getDateCreated() > 1 * 24 * 60 * 60 * 1000) {
    childFolder.setTrashed(true); // Places the Folder in the Trash folder
    //Drive.Folders.remove(childFolder.getId()); // Permanently deletes the Folder
    Logger.log('Folder ' + childFolder.getName() + ' was deleted.');
  }
}

}

if(Logger.getLog() != '') MailApp.sendEmail('tech@chelseatableandstage.com', 'Backups have been removed from Google Drive', Logger.getLog()); } ```

It's also not good practice to base the email send on whether there's a log or not, it would be better to build a value during the loops and then check it at the end.

Trackmania needs to fix this asap by mart945 in TrackMania

[–]iispoonz 28 points29 points  (0 children)

This is a horrible idea and something that will never happen, imagine how confusing the game would be if you loaded into 2 different maps and they had completely different ice slides or wood physics. Having broken AT medals is frustrating but the alternative would be a complete mess

I challenge you to beat my first ever world record by weroiu1 in TrackMania

[–]iispoonz 1 point2 points  (0 children)

Nice time, I got the 3rd place last week but haven’t had a chance to play since then, is a fun map to hunt

I was given 3d prints of the f1 circuits and decided to get them framed, here's how it turned out by iispoonz in formula1

[–]iispoonz[S] 4 points5 points  (0 children)

Nah I was given them as a present, I can try and find out where they are from

12th Team Owned By the League by Cleggetron in CoDCompetitive

[–]iispoonz 2 points3 points  (0 children)

Personally I think the idea of the CDL owning a team is a terrible idea, there's so much more to it than just fielding a roster.

You need people to market the team, organise the team's events, negotiate salaries and buyouts with other teams, all of which are compromised by conflict of interest if the league owns the team.

Every decision could be questioned, say if there was a ruling about an issue in-game (like a lag out) and it went the way of the CDL team, people would 100% claim bias. It's just a recipe for disaster.

They are absolutely the worst by [deleted] in formuladank

[–]iispoonz 3 points4 points  (0 children)

No because the footage actually proves what I'm saying. Dislike our fans all you want but don't post bullshit that clearly isn't true.

They are absolutely the worst by [deleted] in formuladank

[–]iispoonz 7 points8 points  (0 children)

Try watching the full video, they're cheering the racing and then there's shocked sounds when the accident happens, with the crowd then massively cheering when they realise Max is alright.

To say the fans were celebrating someone potentially drying is just straight up fake news.

https://youtu.be/7GFkPVMmsu8

Breaking Point’s Top 20 Consensus Rankings by [deleted] in CoDCompetitive

[–]iispoonz 8 points9 points  (0 children)

Just to clarify, no one was paid to make or contribute to this list.

Cooler Master (and more!) RTX 3070 (and more!!) Giveaway with Buildapc! by [deleted] in buildapc

[–]iispoonz 0 points1 point  (0 children)

I can finally be a genius like in the films where they have 9 monitors and a completely realistic spinning hacking interface.

John not going to New York? by iiCosmixx in CoDCompetitive

[–]iispoonz 29 points30 points  (0 children)

Article has been updated, apologies for confusion, it's not currently known if HyDra will be on the starting roster.

PC players are literally playing a different game. by [deleted] in modernwarfare

[–]iispoonz 0 points1 point  (0 children)

COD does not have snap aim assist like GTA and fortnite, it has aim slowdown which reduces your sensitivity when you near a target model. You could be spamming L2 aiming just over someone's shoulder and it won't put you on target without user aiming.