Public paste
invite
By: Arie | Date: Jan 2 2009 21:24 | Format: None | Expires: never | Size: 944 B | Hits: 891

  1.         private function invite($args,$Line) {
  2.             if (strtolower($args[2]) == strtolower($this->bots['google']['nickname'])) {
  3.                 $chan = trim($args[3]);
  4.                 $chan = strtolower($chan);
  5.                 if (!$this->isGooglechan($chan)) {
  6.                     $this->joinService($chan, 'google');
  7.                     $argz[] = $this->bots['google']['snumeric'];
  8.                     $argz[] = 'J';
  9.                     $argz[] = $chan;
  10.                     $argz[] = time();
  11.                     $this->joinChan2($argz);
  12.  
  13.                     $this->SendRaw($this->bots['google']['snumeric'].' P '.$chan.' :ACTION googles for '.$this->user[$args[0]]['nick'].'.', 1);
  14.                     $this->SendRaw($this->bots['google']['snumeric'].' P '.$chan.' :ACTION found '.rand().' results.', 1);
  15.                     $this->schan[$chan]['google']['moo'] = 'mo';
  16.  
  17.                 }
  18.             }
  19.         }