You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use -v or --version flag to display some information about your current installation of stoopid
Aditional Parameters
Parameter
Description
--log <filename>
file to write the logs to
--silent
disables all output
Commands
Keyword
Syntax
Description
var
var : <name> = <value>
Creates a variable
arr
arr : <name> : <size>
Creates an array
app
app : <name> : <value>
Appends to an array
getarr
getarr : <name> : <index> : <destination>
Gets the value of an array at index
out
out : <name>
Prints the given value
goto
goto : <line>
Changes the next line read by the interpreter
sleep
sleep : <time>
Waits the given time until next execution
goif
goif : <line> : <condition>
Changes the next line read by the interpreter if given condition is true
if
if : <condition> : {
Executes code in curly brackets if the condition is true
bool
bool : <name> = <value>
Creates a boolean
import
import : <library name>
Imports an external library from %appdata%/stoopid/libs
end
end
Stops code
external
<libraryName>.<keywordName> : <args>
uses a keyword from an external library
Other useful features
Comments can be made with a # as the first character: # this is a comment
Labels can be added after a line and you can jump to them with goto or goif: : <label>
After initialisation variables can be used like this: <name> = <value>
If no filename was given, Console Mode will be started and you can input any valid one line stoopid code in the console