added some external data
This commit is contained in:
11
plugins/example
Executable file
11
plugins/example
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user