The essential principle of the language is that you use the Get Statements to gain access to the data you need, then use the Essential Statements to build a behaviour based on the data you got access to.
EVERY-> Used at the beginning of the script to determine how often the script is to be executed. AcceptsMILLISECONDS,SECONDS,MINUTESandHOURS.END-> Used to closeIF,ELSEIF,ELSEandITERATEblocks.IF-> Used to build if blocks.ELSEIF-> Used insideIFstatements to build else if blocks.ELSE-> Used insideIFstatements to build an else block.ITERATE-> Used to iterate over data with multiple elements and execute script for each element.SAVE_TO_DB-> Used to save all the data that's been accessed through the Get Statements to the database.
If you wanna pass a variable that doesn't change such as in the IF KEYSTROKES BIGGER "10", you simply need to wrap your variable with ' or " just like "10".
These statements are meant to be used with an IF or ELSEIF statement.
NOT-> Used to accept a negative value as positive and thus execute the conditional statement.OR-> Used to add an or condition.BIGGER-> Used to see if a value is bigger than the other.LESSER-> Used to see if a value is lesser than the other.EQ-> Used to see if a value is equal to the other.IN-> Used to see if a value is inside a list.MATCH-> Used to execute a regex on a variable.
Once you call these statements they'll give you access to the corresponding variable that you can use inside the language.
GET_NETWORK_SSID->NETWORK_SSIDGET_PERIPHERALS-> (KEYSTROKES,MOUSE_CLICKS)GET_WINDOWS->WINDOWS, usable withITERATEfunction and inside theITERATEstatement it gives you access toTITLE,PROCESS_NAME,CMD,EXE,CWD,MEMORY,STATUS,START_TIME.
PRINT-> Used to print any variable to the console.CAPTURE_SCREEN-> Captures the primary screen or captures all screens. Accepts"PRIMARY"or"ALL".
EVERY 5 SECONDS
GET_PERIPHERALS
GET_WINDOWS
IF KEYSTROKES BIGGER "15"
PRINT "KEYSTROKES are bigger than 15"
END
ITERATE WINDOWS
PRINT TITLE
IF TITLE MATCH "Brave"
PRINT "IF statement executed"
ELSEIF TITLE EQ "some other title"
PRINT "ELSEIF statement executed"
END
ELSEIF TITLE MATCH IN ["regex1", "regex2", "regex3"]
PRINT "ELSEIF MATCH IN statement executed"
END
ELSE
PRINT "ELSE statement executed"
END
END
END