Bot Eval
Categories
Component ID
1132816
Component name
Bot Eval
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1000
Component created
Component changed
Component body
Just to be clear: this module does not actually eval() the code. It relies on the (totally awesome) http://codepad.org service to evaluate the code and return the output.
Evaluate code and view the output with your IRC bot!
The default language is PHP. Opening <?php tags are not necessary.
<you> ?eval echo "Hello World!";
<bot> http://codepad.org/3dmXczl9 Hello World!
You can specify other languages with ?eval:[language] [code]
<you> ?eval:python import time; print(time.time())
<bot> http://codepad.org/go2hbYRZ 1303271492.62
Supported languages:
- c
- cpp
- d
- haskell
- lua
- ocaml
- php
- perl
- python
- ruby
- scheme
- tcl
