2005-06-23 Clinton Ebadi <clinton@unknownlamer.org>
+ * scripts/bot.scm: Added file ((bobotpp bot) module for other
+ modules to gain access to bobot++ interface)
+
* source/Commands.C (Notice): Commented out check/abort if target
is a channel (there doesn't seem to be a reason for this to not work)
etc.)
+ Message Sending
* Implemented bot:notice
+ + Misc
+ * Added (bobotpp bot) module that modules may use to gain access
+ to the bobot++ functions
Version 2.1.7:
[
GUILE_PROGS
GUILE_FLAGS
+ GUILE_SITE_DIR
AC_DEFINE(USESCRIPTS,1)
AC_DEFINE(MULTITHREAD,1)
])
AC_CHECK_LIB(crypt, crypt, [LDFLAGS="-lcrypt $LDFLAGS]")
AC_CHECK_LIB(socket, socket, [LDFLAGS="-lsocket $LDFLAGS]")
AC_CHECK_LIB(nsl, connect, [LDFLAGS="-lnsl $LDFLAGS]")
+
dnl CC++ is special (no function to check_lib on
dnl AC_CHECK_PROG(CCGNU_FOUND, [ccgnu2-config],
dnl [yes], [no])
scriptsdir = $(datadir)/bobotpp/scripts
-scripts_DATA = bobot-utils.scm
\ No newline at end of file
+scripts_DATA = bobot-utils.scm
+
+guilesitebotdir = @GUILE_SITE@/bobotpp
+guilesitebot_DATA = bot.scm
+
+EXTRA_DIST = $(scripts_DATA) $(guilesitebot_DATA)
\ No newline at end of file
(string-append (getenv "HOME")
"/.bobotpp/scripts/")
bot:sys-scripts-dir))
+
(define-public %bot:load-extensions %load-extensions)
;;; bot:log: Write as many messages as you want to the log. If the
--- /dev/null
+;;; Bobot++ Module for for giving access to bobot++ commands to other
+;;; scheme modules
+
+;;; This file is covered by the GPL version 2 or (at your option) any
+;;; later version
+
+(define-module (bobotpp bot))
+
+(set-module-uses! %module-public-interface
+ (list the-bot-module))
\ No newline at end of file