Moving common functions to a functions file.
This commit is contained in:
9
functions.sh
Normal file
9
functions.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
msg()
|
||||
{
|
||||
local msg="PRIVMSG $1"
|
||||
shift
|
||||
echo "$msg $@" | tee -a "$log"
|
||||
}
|
||||
|
Reference in New Issue
Block a user