User:Outofspace/Custom SB: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Outofspace
No edit summary
>Outofspace
 
Line 91: Line 91:
Before setup:
Before setup:


*SYSALT (Model)
*SYSALT '''(Model)''
**ScriptBuilder (Script)
**ScriptBuilder '''(Script)'''
**Packages(Model)
**Packages '''(Model)'''
***Setup2 (Script)
***Setup2 '''(Script)'''
***PlayerArchiver (Script)
***PlayerArchiver '''(Script)'''
***Security (Script)
***Security '''(Script)'''
**Settings(Model)
**Settings '''(Model)'''
***BasePlateName (StringValue)
***BasePlateName '''(StringValue)'''
***BackupDir (StringValue)
***BackupDir '''(StringValue)'''
***SettingsDir (StringValue)
***SettingsDir '''(StringValue)'''
***BasePlateColor (BrickColorValue)
***BasePlateColor '''(BrickColorValue)'''


==Players==
==Players==


*Player (Player)
*Player '''(Player)'''
**Scripts (Model)
**Scripts '''(Model)'''
**Done (BoolValue)
**Done '''(BoolValue)'''
**TimeZoned(Model)
**TimeZoned '''(Model)'''
***Time (StringValue)
***Time '''(StringValue)'''
***Disabled (BoolValue)
***Disabled '''(BoolValue)'''


=Last=
=Last=


This is incomplete and subject to change.
This is incomplete and subject to change.

Latest revision as of 12:10, 2 January 2009

Version X

About

Completely re-written and designed to be all around better than this. All around better code base and customization.

Commands

Mostly the same.

  • These require a script name after them:
    • create/ --Creates a script.
    • edit/ --Brings the script into edit mode.
    • remove/ --Removes a script.
    • removeb/ --Removes multiple scripts.
    • stop/ --Stops a script.
    • clone/ --Copies a script.
    • force/ --Moves script into the workspace.
    • vanish/ --Moves script into lighting.
    • backup/ --Saves a disabled copy of that script to backup dirrectory (mentioned later)
    • rand/ --Runs a script at a random time.
    • tip/ --Edits a script backwards (code inserted from the top).
  • These do not require input:
    • stop/all
    • remove/all
    • run/all
    • clone/all
    • force/all
    • vanish/all
    • rand/all
    • exit/

Notes

  • Creating a script is different. This SB allows for each player to have a set of scripts, allowing duplicates for each person.

Editing error codes

Ordered by number:

  • 0 - You're in edit mode.
  • 1 - Script is already being edited.
  • 3 - There are more than one script of a specified name.
  • 7 - Script is already being edited, and you've just added "edit/" to the code. Good going.

Globals

  • Remove(Object) --Removes "Object"
  • Clone(Object) --Clone "Object"
  • Asplode(Object) --Destroys "Object"
  • Teleport(x,y,z) --Teleports player.
  • workspace --Represents the "Workspace"

As always, :Remove() and :Clone() will still work.

Calls

  • Public list:
    • get/Clean

Removes all scripts.

    • get/Parts

Removes all parts.

    • get/Archived

Gets a list of players from the archive.

    • get/ScriptArchives

Gets a list of scripts from the archive.

    • get/Refresh

Combination of the first 2 calls.

    • get/Reset

Breaks all joints.

  • Private:
    • get/Tools.

Removes all tools.

    • get/Shutdown (Deprecated)

Removes the server.

    • get/NoSecurity

Removes the security.

    • get/Security

Creates the security.

Directories

Before setup:

  • SYSALT '(Model)
    • ScriptBuilder (Script)
    • Packages (Model)
      • Setup2 (Script)
      • PlayerArchiver (Script)
      • Security (Script)
    • Settings (Model)
      • BasePlateName (StringValue)
      • BackupDir (StringValue)
      • SettingsDir (StringValue)
      • BasePlateColor (BrickColorValue)

Players

  • Player (Player)
    • Scripts (Model)
    • Done (BoolValue)
    • TimeZoned (Model)
      • Time (StringValue)
      • Disabled (BoolValue)

Last

This is incomplete and subject to change.