-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.json
More file actions
27 lines (27 loc) · 1.23 KB
/
commands.json
File metadata and controls
27 lines (27 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"Functions": {
"wait(timer*, repeats*)": "waits a number of seconds (timer) as many times as you want (repeats)",
"end_script()": "ends the script",
"draw_squares(NoPattern*,times*, size*)": "Can draw squares in a pattern or randomly, you get to chose how many squares and the size",
"get_random_number(min*, max*)": "Returns a random number, you get to choose the minimum and the maximum.",
"log(log*, print*, list*, returner*)": "It is highly suggested to use log(log='',print=''), instead of 'print' you can put: 'print', 'list' or 'returner'",
"get_logs_list()": "Get the saved logs list",
"clear_logs_list()": "Clear the saved logs list",
"realistic_round(num)": "Realisticly round a number",
"log_to_file(file, write_mode, messages)": "Log messages to a file"
},
"Classes": {
"Maped": [
"Maped(string_value)",
"Maped(string_value).split(char*, get*)",
"Maped(string_value).unsplit(char*, split*)"
],
"Code": [
"Code(function, handle_errors*)",
{
"Code().check()": "Check if the code exists",
"Code().run()": "Run the code"
}
]
}
}