-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFunctions.txt
More file actions
19 lines (18 loc) · 962 Bytes
/
Functions.txt
File metadata and controls
19 lines (18 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
( * = optional )
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(string_value)
Maped(string_value).split(char*, get*)
Maped(string_value).unsplit(char*, split*)
Code(function, handle_errors*)
Code().check() - Check if the code exists
Code().run() - Run the code