Explorar o código

Added info message

Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
9ec7a4d8cc
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  1. 10 1
      functions/fn_messages

+ 10 - 1
functions/fn_messages

@@ -2,7 +2,7 @@
 # LGSM fn_messages function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 260115
+# Version: 091215
 
 # Description: Defines on-screen messages such as [  OK  ] and how script logs look.
 
@@ -127,3 +127,12 @@ fn_printerror(){
 fn_printerrornl(){
     echo -e "\e[0;31mError!\e[0m $@"
 }
+
+# Info!
+fn_printinfo(){
+    echo -en "\e[0;36mInfo!\e[0m $@"
+}
+
+fn_printinfonl(){
+    echo -e "\e[0;36mInfo!\e[0m $@"
+}