Fork project

This commit is contained in:
feder
2017-02-18 21:35:12 +03:00
commit 9f2ea9cc1d
9 changed files with 433 additions and 0 deletions

11
examples/plugins/example Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
user="$1" # User nickname.
admin="$2" # If one is an admin.
if [ "$admin" != 'true' ]; then
printf "%s\n" "$user: you are not an admin"
else
printf "%s\n" "$user: you are an admin"
fi