User:Anaminus/Doc:ScriptBuilderPRI: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
User:Anaminus/Doc:ScriptBuilderPRI (view source)
Revision as of 11:54, 12 November 2008
, 12 November 2008no edit summary
>Anaminus mNo edit summary |
>Anaminus mNo edit summary |
||
Line 186: | Line 186: | ||
*'''Debug''': Removes all excess messages/hints from the workspace and your player. | *'''Debug''': Removes all excess messages/hints from the workspace and your player. | ||
*'''Reset''': Completely resets your character. | *'''Reset''': Completely resets your character. | ||
*'''AFK''': Use once to send your character to the lighting. Use again to send your character back to the workspace. | |||
==Globals== | |||
The list of global stuff, and what they do. | |||
===Functions=== | |||
'''Characters (class)''' | |||
Returns a string of all characters that match with ''class''. (see [[Function Dump/String Manipulation#Patterns|Patterns]]). | |||
{{Example| | |||
<pre> | |||
print( Characters("%a") ) | |||
will result in: | |||
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz | |||
</pre> | |||
}} | |||
'''tobool (a)''' | |||
If ''a'' is ''string'' "false" or ''number'' 0, returns false instead of true. | |||
{{Example| | |||
<pre> | |||
print( tobool("false") ) | |||
will result in: | |||
false | |||
</pre> | |||
<pre> | |||
print( tobool(0) ) | |||
will result in: | |||
false | |||
</pre> | |||
}} | |||
'''Scramble (str)''' | |||
If ''str'' is a string, returns ''str'' with it's contents scrambled. | |||
{{Example| | |||
<pre> | |||
print( Scramble("Hello World!") ) | |||
might result in: | |||
l dWHool!erl | |||
</pre> | |||
}} |