Changeset 72 for trunk/Phergie/Plugin/Daddy.php
- Timestamp:
- 02/25/08 06:55:08 (5 years ago)
- Files:
-
- 1 modified
-
trunk/Phergie/Plugin/Daddy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Phergie/Plugin/Daddy.php
r68 r72 23 23 $text = $this->event->getArgument(1); 24 24 if (preg_match('/' . $bot . '\s*:?\s+?who\'?s your daddy\??/iAD', $text)) { 25 $this->doPrivmsg($this->event->getSource(), 'You\'re my daddy, ' . $this->event->getNick() . '!'); 25 if($this->getIni('curses') === 'true' && rand(0,10) === 10) { 26 $this->doPrivmsg($this->event->getSource(), $this->event->getNick() . ': I am your daddy, bitch!'); 27 } else { 28 $this->doPrivmsg($this->event->getSource(), 'You\'re my daddy, ' . $this->event->getNick() . '!'); 29 } 26 30 } 27 31 }