Tabletop Simulator

Tabletop Simulator

Not enough ratings
Notebook Scripting
   
Award
Favorite
Favorited
Unfavorite
Number of Players: 1, 2, 3, 4
Assets: Scripting
Tags: Misc, 4+
File Size
Posted
Updated
6.068 KB
12 Aug, 2017 @ 12:17pm
12 Aug, 2017 @ 12:17pm
2 Change Notes ( view )

Subscribe to download
Notebook Scripting

Description
This can be moved to any table that does not rely on the index of notebook tabs/steam-id titles.

When the button on the cube is pressed and there is a notebook tab with the title of the steam-id of the player who pressed the button, it will spawn an object and set its script to whatever is in their notebook tab.

If there is no notebook tab with a title of the steam id for the player who pressed the button then it will do nothing unless the "addtabs" variable at the beginning of the script is set to true.

If "addtabs" is true then it will add a tab for the person who pressed the button with the title of their steamid, if the player presses it again it will spawn an object and put the notebook text on the object as script. (this works for anyone if true)

If an object is already spawned for a player and they press the button again, it will delete their already exsisting object and replace it with the same object with the text that is in their notebook tab. This is so players can update their code.

BE CAREFUL with who you give scripting to, if they do something bad it could crash your game or your computer. You never know if or when the next big bug might pop up that could do something worse than crashing your game or computer.
I am not responsible for what happens to you or anyone else with this script.