about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2022-12-16 13:57:04 -0500
committerelioat <elioat@tilde.institute>2022-12-16 13:57:04 -0500
commite5b15e96fc25fe2081c72f8378ad8910b57dc1b9 (patch)
tree2a08ed291d06069085990c8fba8668e3cd0fabc0 /src
parente79c2f0c9e490cb3b8cac82e7bb1dc319b7d20a2 (diff)
downloaddecember-2022-e5b15e96fc25fe2081c72f8378ad8910b57dc1b9.tar.gz
a switch statement would be nice
Diffstat (limited to 'src')
-rw-r--r--src/blogthing/blogthing.lil21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/blogthing/blogthing.lil b/src/blogthing/blogthing.lil
new file mode 100644
index 0000000..5e4523d
--- /dev/null
+++ b/src/blogthing/blogthing.lil
@@ -0,0 +1,21 @@
+if args[2] do
+
+	if args[2] ~ "note" do
+		print["note"]
+	end
+
+	if args[2] ~ "image" do
+		print["image"]
+	end
+
+	if args[2] ~ "reply" do
+		print["reply"]
+	end
+
+	if args[2] ~ "like" do
+		print["like"]
+	end
+
+else 
+	print["no args"]
+end 
\ No newline at end of file