diff options
author | echo <91651232+exhq@users.noreply.github.com> | 2022-08-29 21:14:01 +0430 |
---|---|---|
committer | echo <91651232+exhq@users.noreply.github.com> | 2022-08-29 21:14:01 +0430 |
commit | 680750abf54e831ed20050ad6df0ca4a7e2ec4ad (patch) | |
tree | 2cd3e6034fdd8f9dc8d1587cb7da7fa3be514529 /console/src/jsMain | |
parent | b148b431ec0390eb3661a029972078787899810a (diff) | |
download | exhq.github.io-680750abf54e831ed20050ad6df0ca4a7e2ec4ad.tar.gz exhq.github.io-680750abf54e831ed20050ad6df0ca4a7e2ec4ad.tar.bz2 exhq.github.io-680750abf54e831ed20050ad6df0ca4a7e2ec4ad.zip |
nick blocker
Diffstat (limited to 'console/src/jsMain')
-rw-r--r-- | console/src/jsMain/kotlin/main.kt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/console/src/jsMain/kotlin/main.kt b/console/src/jsMain/kotlin/main.kt index 6e133bb..37c99b4 100644 --- a/console/src/jsMain/kotlin/main.kt +++ b/console/src/jsMain/kotlin/main.kt @@ -7,7 +7,7 @@ import moe.nea89.website.* import styled.injectGlobal import kotlin.time.Duration.Companion.milliseconds - +val isnickrude = true val defaultFileSystem = fileSystem { "etc" { "passwd" text "hunter2" @@ -59,7 +59,11 @@ fun main() { }) console.registerCommand(command("blahaj", "shark"){ - console.addMultilineText(""" + if (isnickrude){ + console.addLine("nick was rude ;-;") + } + else{ + console.addMultilineText(""" ,(((/ /((((( ((((#(( (// @@ -78,6 +82,8 @@ fun main() { **,,,****//*(##((###(#((( &#(#/#((((((((# """.trimIndent()) + } + }) console.registerCommand(command("sudo"){ var str = "" |