Move chat/ and plugins/ examples to the examples/ directory

This commit is contained in:
Alexei Sorokin
2016-08-20 19:37:57 +03:00
parent d7783fbee3
commit 1cc9b97c39
3 changed files with 0 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