]> git.xolatile.top Git - public-moontalk.git/commitdiff
even more notices, improved guide
authorEmil Williams <emilwilliams@tuta.io>
Sat, 3 Feb 2024 17:55:38 +0000 (17:55 +0000)
committerEmil Williams <emilwilliams@tuta.io>
Sat, 3 Feb 2024 17:55:38 +0000 (17:55 +0000)
client/moontalk.c
client/moontalk.rb

index 9bd2f27e212c80539761b49404fd6ccefc18b3ad..7cdd855a3928e6b68ce529a9d5ea7bc5c4961d57 100644 (file)
@@ -1,5 +1,6 @@
 /* moontalk.c - @BAKE cc -O2 -std=gnu99 -Wall -Wextra -pedantic $@ -o $* -lncurses -ltinfo $+
  * Written by Emil.
+ * Licensed under the GPLv3 only.
  */
 
 #include <stdio.h>
index d3411c8c29fa1560ba62c72d720220c8e499b4fb..c7ad9b7681a649c33ee8d9a8c159024253ad2341 100644 (file)
@@ -1,7 +1,8 @@
 #!/usr/bin/ruby
 # written by Emil.
+# Licensed under the GPLv3 only.
 #
-# short guide
+# SHORT GUIDE
 #
 # -serv specifies server,
 # -port specifies port,
 # Type Enter and nothing else to refresh the messages.
 # Type messages and send them, hopefully everyone hears you just fine.
 #
-# h = { "BYE" => 1, "QUIT" => 1, "SAY" => 2, "CLEAR" => 3, "NICK" => 4, "RECONNECT" => 5, "DELAY" => 6 }
-# 1 exits,
-# 2 says something verbatim (including a raw newline),
-# 3 clears the terminal,
-# 4 sets the nick (needs arg),
-# 5 reconnects,
-# 6 sets delays ( needs arg)
+# Commands:
+#
+# Commands must be near the beginning of messages, and will preform their respective action.
+#
+# BYE, QUIT - exits
+# SAY       - says something verbatim
+# CLEAR     - clears the terminal
+# NICK...   - sets the nick
+# RECONNECT - reconnects
+# DELAY...  - sets delays
 
 require 'socket'
 require 'readline'