Explorar el Código

Added info message

Daniel Gibbs hace 10 años
padre
commit
9ec7a4d8cc
Se han modificado 1 ficheros con 10 adiciones y 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 $@"
+}