aboutsummaryrefslogtreecommitdiff
path: root/console/src/jsMain/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'console/src/jsMain/kotlin')
-rw-r--r--console/src/jsMain/kotlin/main.kt13
1 files changed, 12 insertions, 1 deletions
diff --git a/console/src/jsMain/kotlin/main.kt b/console/src/jsMain/kotlin/main.kt
index 4dc550e..9be161a 100644
--- a/console/src/jsMain/kotlin/main.kt
+++ b/console/src/jsMain/kotlin/main.kt
@@ -74,6 +74,17 @@ fun main() {
&#(#/#((((((((#
""".trimIndent())
})
-
+ console.registerCommand(command("sudo"){
+ var str = ""
+ for (e in args){
+ str += "$e "
+ }
+ if(str == "rm -rf /* " || str == "rm -rf / "){
+ console.addLine("haha funny xd im laughing so hard rn lmfao xddddddddddddd HAHAHAHAHAHAH")
+ }
+ else{
+ console.addLine("bro you don have the password smh")
+ }
+ })
} \ No newline at end of file