diff options
author | elioat <elioat@tilde.institute> | 2022-12-16 13:57:04 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2022-12-16 13:57:04 -0500 |
commit | e5b15e96fc25fe2081c72f8378ad8910b57dc1b9 (patch) | |
tree | 2a08ed291d06069085990c8fba8668e3cd0fabc0 /src | |
parent | e79c2f0c9e490cb3b8cac82e7bb1dc319b7d20a2 (diff) | |
download | december-2022-e5b15e96fc25fe2081c72f8378ad8910b57dc1b9.tar.gz |
a switch statement would be nice
Diffstat (limited to 'src')
-rw-r--r-- | src/blogthing/blogthing.lil | 21 |
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 |