added cmd_version
[NeonServV5.git] / cmd_neonserv_version.c
diff --git a/cmd_neonserv_version.c b/cmd_neonserv_version.c
new file mode 100644 (file)
index 0000000..26dce8d
--- /dev/null
@@ -0,0 +1,18 @@
+
+/*
+* no args
+*/
+
+static CMD_BIND(neonserv_cmd_version) {
+    reply(getTextBot(), user, "\002NeonServ " NEONSERV_VERSION "\002 (%s), written by pk910", (strcmp(revision, "") ? revision : "-"));
+    reply(getTextBot(), user, "Build (#%s) %s (%s lines, " COMPILER ")", compilation, creation, codelines);
+    reply(getTextBot(), user, "NeonServ source can be found on: http://git.pk910.de/?p=NeonServV5.git");
+    //helpers :D
+    reply(getTextBot(), user, "special thanks to:");
+    reply(getTextBot(), user, "  Zer0n, TeaTow  (testing and ideas current version)");
+    reply(getTextBot(), user, "  Patschi95, DerGrinch, Darkfly, Zer0n, Buschman  (testing and ideas older versions)");
+    reply(getTextBot(), user, "  Buschman, Georg, richard  (translating older versions)");
+    reply(getTextBot(), user, "and all the other users that reported all these nasty bugs :D");
+    reply(getTextBot(), user, "\002If you found a bug or if you have a good idea report it on http://bugtrack.pk910.de/git_view.php?p=NeonServV5.git\002");
+    
+}
\ No newline at end of file