added some external data

This commit is contained in:
Alexey Derlaft
2015-08-13 17:52:59 +03:00
parent 7c9c5ff2eb
commit 4e91e698f3
4 changed files with 66 additions and 0 deletions

11
plugins/example Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
user="$1" # nickname
admin="$2" # if he is an admin
if [ "$admin" != 'true' ]; then
echo "$user: you are not an admin"
else
echo "$user: you are an admin"
fi