modules/doctor.php
changeset 24 6fa9346a9bdc
parent 8 0acb8d9a3194
child 52 a8f0e99883d1
equal deleted inserted replaced
23:df31a3872d19 24:6fa9346a9bdc
     1 <?php
     1 <?php
       
     2 $doctor = array();
       
     3 
     2 require('eliza.php');
     4 require('eliza.php');
     3 
     5 
     4 eb_hook('event_channel_msg', 'doctor_listen($chan, $message);');
     6 eb_hook('event_channel_msg', 'doctor_listen($chan, $message);');
     5 eb_hook('snippet_dynamic', 'if ( $snippet === "doctor" ) return doctor_go($chan, $message, $snippet);');
     7 eb_hook('snippet_dynamic', 'if ( $snippet === "doctor" ) return doctor_go($chan, $message, $snippet);');
     6 eb_hook('event_greeting', 'doctor_greet($append);');
     8 eb_hook('event_greeting', 'doctor_greet($append);');