This project is not covered by Drupal’s security advisory policy.

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

Powered by: http://codepad.org/

Project information

Releases