Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/examples/Conditions/Conditions-example6.txt
2968 views
1
REM Example of optimized IF statement
2
REM with internal variable
3
4
IF $_CAPSLOCK_ON THEN
5
STRINGLN The caps lock key is on
6
END_IF
7
8
9
REM The internal variable $_CAPSLOCK_ON is checked.
10
REM If it evaluates as TRUE, the message “The caps lock key is on” is typed.
11