question

Dylan Hunt avatar image
Dylan Hunt asked

Here are some CloudScript snippets we use for further examples

The examples are what helped me the most for learning cloudscript. Here are some more real-use examples -- I'm not sure how standard it is, but PF once used my old examples as a template somewhere on GitHub so it should at least be "decent". It's not meant for copy+paste because it won't work, but for example-use and perhaps a few snippets you could pull:

tol-cloudscriptjs.txt

Rename from .txt to .js >> Open with Notepad++ or your favorite IDE.

PS -- The stat examples are for dynamic stats (we abandoned it since the limit is 20) -- don't use those examples unless you don't mind a paid plan. This is a dynamic spawn-rate example that could take ~100 stat slots.

CloudScript
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.