Skip to content

Instantly share code, notes, and snippets.

//find this bit of code (around line 923):
for (i=0; i < toon.quests.length; i++)
{
if (toon.quests[i] == 56057)
{
worldBossKill = worldBossKill + "Soulbinder: \u2713 ";
}
// step 1. add the following code in, some where after line 125 and outside of other { statements }
var unfathomable = 0;
for(i=0; i<toon.quests.length; i++)
{
if(toon.quests[i]==55481 || toon.quests[i]==55869 || toon.quests[i]==55799)
{
// manual script update, in case you have a ton of custom stuff happening in yours
****** Change 1, around line 69 ******
var current_version = 4.1;
into
var current_version = 4.101;
// You may need to adjust the format of this by using the Format > Number menu within google spreadsheets
// There are several default formats towards the bottom of the menu that work well
//step 1, add this code in (a safe place to add it is around line 100ish where it lists the classes, either before or after)
var logout = new Date(0);
logout.setUTCSeconds(toon.lastModified/1000);
/* ***********************************
*** Copyright (c) 2018 bruk
*** This script is free software; you can redistribute it and/or modify
*** it under the terms of the GNU General Public License as published by
*** the Free Software Foundation; either version 3 of the License, or
*** (at your option) any later version.
********************************** */
// formula usage =guild(region,realmName,guildName,maxRank,sortMethod,minLevel)
/* ***********************************
*** Copyright (c) 2018 bruk
*** This script is free software; you can redistribute it and/or modify
*** it under the terms of the GNU General Public License as published by
*** the Free Software Foundation; either version 3 of the License, or
*** (at your option) any later version.
***
************************************* */
// For more info, help, or to contribute: http://bruk.org/wow
@brewk
brewk / wlogs test
Last active September 19, 2018 18:32
/* ***********************************
*** Copyright (c) 2018 bruk
*** This script is free software; you can redistribute it and/or modify
*** it under the terms of the GNU General Public License as published by
*** the Free Software Foundation; either version 3 of the License, or
*** (at your option) any later version.
***
************************************* */
// For more info, help, or to contribute: http://bruk.org/wow
var warcraftlogskey = "";
// this to make bruk's ESLint happy
/* exported wlogs */
function wlogs (region,realmName,toonName)
{
// step 1 find this bit of code:
if (raiderIO)
{
var raiderJSON = UrlFetchApp.fetch("https://raider.io/api/v1/characters/profile?region="+region+"&realm="+realmName+"&name="+toonName+"&fields=mythic_plus_highest_level_runs,mythic_plus_scores,mythic_plus_weekly_highest_level_runs", options);
var raider = JSON.parse(raiderJSON.toString());
if (!raider.statusCode)
{
if (raider.mythic_plus_weekly_highest_level_runs[0])
/* ***********************************
*** Copyright (c) 2018 bruk
*** This script is free software; you can redistribute it and/or modify
*** it under the terms of the GNU General Public License as published by
*** the Free Software Foundation; either version 3 of the License, or
*** (at your option) any later version.
***
************************************* */
// For more info, help, or to contribute: http://bruk.org/wow