From a271546b3cc8000a22bba7965d7eb08feeff7c83 Mon Sep 17 00:00:00 2001 From: Nathan Glover Date: Sat, 10 Mar 2018 11:47:04 -0600 Subject: [PATCH] Data storage saving clarification --- Advanced-Scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Advanced-Scripts.md b/Advanced-Scripts.md index 01b0eb6..b83ca65 100644 --- a/Advanced-Scripts.md +++ b/Advanced-Scripts.md @@ -74,7 +74,7 @@ Produces: ![server-info-example-picture](https://i.imgur.com/6yxjpsV.png) when t ## Storing Data -Storing data from within the placeholder script is quite easy. When a placeholder script is called, a `Data` object is passed to it. Whenever the script modifies the object, it is modified in Javascript-Expansion as well, and then saved to a data file. +Storing data from within the placeholder script is quite easy. When a placeholder script is called, a `Data` object is passed to it. Whenever the script modifies the object, it is modified in Javascript-Expansion as well, and then saved to a data file when the expansion unloads. Here is an example script that stores how many times a placeholder is viewed.