Spreadsheet Scripting Tutorials
Posted: Sun Mar 11, 2018 4:56 pm
This thread exists to help the GMs to utilize Google Spreadsheets' functions to a bigger extent, making game updating an easier process.
Why Spreadsheets?
First of all, this is not a product placement. The reason I chose Spreadsheets is because the usage of it is free (as of the moment), stores data reliably, and it's really easy to share content through it. People familiar with other cell-based office suites (MS Excel, OpenOffice Calc, et cetera) may also easily translate their knowledge from those to this one and vice versa. Also, many GMs are already using spreadsheets to store player data, so having an additional tool in their hand just seems to be a good thing. If you have another favourite product and know how to write functions in the related language, feel free to transcribe the tutorials here into that one!
What are these scripts you've been talking about in the title?
Scripts are basically small programs that do stuff for you. Well, not exactly full-fledged big things like cooking your dinner, cleaning your shoes or taking the kids home... More like the functions you are probably already familiar with in spreadsheets' terms like summing values or formatting data. we will be talking about the latter, mostly.
Okay, how do I make these scripts?
To start making scripts for your spreadsheets, open up a spreadsheets page, preferably one you can edit. You can start an entirely new one or you can add scripts to an already existing one. If you are a GM, chances are you already have some lying around. Be warned though that scripts can make your page load slowly, or maybe breaking it if written wrong. If you want to be cautious I suggest you to copy your data you want to experiment on to a new document, experiment on that one, and copy back the scripts you are confident won't mess up your data.
To create scripts, Click on the >Tools< menu, and select >Script Editor...<. You should end up with a blank page where you can write scripts.
What am I gonna do with these scripts I write?
The primary aim of these tutorials is to help translating data from your spreadsheets to the forums, using the phpBB boards format. If you are a GM actively doing games or an avid forum user, you might have already noticed that to format your posts correctly takes practice and time, and sometimes also makes your raw text quite hard to read, making you bounce between text view and preview back and forth. And this is where these scripts aim to help you out.
Let's get started!
Why Spreadsheets?
First of all, this is not a product placement. The reason I chose Spreadsheets is because the usage of it is free (as of the moment), stores data reliably, and it's really easy to share content through it. People familiar with other cell-based office suites (MS Excel, OpenOffice Calc, et cetera) may also easily translate their knowledge from those to this one and vice versa. Also, many GMs are already using spreadsheets to store player data, so having an additional tool in their hand just seems to be a good thing. If you have another favourite product and know how to write functions in the related language, feel free to transcribe the tutorials here into that one!
What are these scripts you've been talking about in the title?
Scripts are basically small programs that do stuff for you. Well, not exactly full-fledged big things like cooking your dinner, cleaning your shoes or taking the kids home... More like the functions you are probably already familiar with in spreadsheets' terms like summing values or formatting data. we will be talking about the latter, mostly.
Okay, how do I make these scripts?
To start making scripts for your spreadsheets, open up a spreadsheets page, preferably one you can edit. You can start an entirely new one or you can add scripts to an already existing one. If you are a GM, chances are you already have some lying around. Be warned though that scripts can make your page load slowly, or maybe breaking it if written wrong. If you want to be cautious I suggest you to copy your data you want to experiment on to a new document, experiment on that one, and copy back the scripts you are confident won't mess up your data.
To create scripts, Click on the >Tools< menu, and select >Script Editor...<. You should end up with a blank page where you can write scripts.
What am I gonna do with these scripts I write?
The primary aim of these tutorials is to help translating data from your spreadsheets to the forums, using the phpBB boards format. If you are a GM actively doing games or an avid forum user, you might have already noticed that to format your posts correctly takes practice and time, and sometimes also makes your raw text quite hard to read, making you bounce between text view and preview back and forth. And this is where these scripts aim to help you out.
Let's get started!