[project @ 2005-06-23 06:20:44 by unknown_lamer]
[clinton/bobotpp.git] / scripts / eval
CommitLineData
9efc3706 1; -*- scheme -*-
cb21075d 2(use-modules (ice-9 slib))
3
4(require 'coerce)
5
439869bf 6(define (bot:eval channel str)
7 (bot:say channel
cb21075d 8 (coerce
9 (eval-string str) 'string)))
10
439869bf 11(bot:addcommand "eval" bot:eval #t 2 4)