mIRC Home    About    Download    Register    News    Help

Print Thread
#197692 12/04/08 02:36 PM
Joined: Apr 2008
Posts: 3
J
Self-satisified door
OP Offline
Self-satisified door
J
Joined: Apr 2008
Posts: 3
You know most bots only know commands like !help !op etc.
I was thinking of making a bot that like talks, so you could like say hello and it would say hello back etc.
Simular to spleak (spleak@hotmail.com)

I need people to:
Help me think of the responses
Code it

If you are interested in helping please PM me

Thanks
Jamie

Jamie2906 #197701 12/04/08 10:03 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Go find the Alice Bot. I doubt anyone wants to try to do something on that scale for you. You'll probably just want to learn to do it yourself. It's mostly just on TEXT events.

Riamus2 #197704 12/04/08 10:23 PM
Joined: Apr 2008
Posts: 3
J
Self-satisified door
OP Offline
Self-satisified door
J
Joined: Apr 2008
Posts: 3
Not just for me for everyone, it will probably be quite popular

Jamie2906 #197707 12/04/08 11:31 PM
Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
No it wouldn't. These things exist, and they're not very popular at all. In fact, if you do some digging you'll find that there are already such bots in existence. They're already employed on networks like AIM and ICQ but for evil purposes rather than good ones. Most people ignore them.

Anyway.. bottom line is that people have already made such bots, you should probably google for them, because that would save you time in making your own. "IRC ai talk bot" is a good starting point

argv0 #197821 14/04/08 12:39 PM
Joined: Aug 2007
Posts: 331
F
Pan-dimensional mouse
Offline
Pan-dimensional mouse
F
Joined: Aug 2007
Posts: 331
chessnut made one a long time ago
here it is:(has the ability to turn off and only works in a query window)
Code:
on *:text:*:?:{ 
  if (%intell == on) { 
    var %t $ticks 
    sockopen alice. $+ %t www.pandorabots.com 80 
    sockmark alice. $+ %t $mid($md5($address($nick,2)),16) $nick $regsubex($1-,/([^\w])/Sg,$+(%,$base($asc(\1),10,16,2))) 
  } 
} 
on *:sockopen:alice.*:{ 
  tokenize 32 $sock($sockname).mark 
  var %u $+(&botcust2=,$1&input=,$3) 
  sockwrite -n $sockname POST /pandora/talk?botid=f5d922d97e345aa1&skin=custom_input HTTP/1.1 
  sockwrite -n $sockname Host: www.pandorabots.com 
  sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded 
  sockwrite -n $sockname Content-Length: $len(%u .) 
  sockwrite -n $sockname $crlf %u 
} 
on *:sockread:alice.*:{ 
  if (!$sockerr) { 
    var %s 
    $event %s 
    if $regex(%s,^.*<em>(.*?)<\/em><\/b>$) { 
      msg $gettok($sock($sockname).mark,2,32) $regml(1) 
      sockclose $sockname 
    } 
  } 
} 
alias intell { 
  if ($1 == on) { 
    set %intell on 
    echo 2 Intell is now on 
  } 
  elseif ($1 == off) { 
    unset %intell 
    echo 2 Intell is now off 
  } 
}
alias ai { 
  if ($1 == on) { 
    set %intell on 
    echo 2 Intell is now on 
  } 
  elseif ($1 == off) { 
    unset %intell 
    echo 2 Intell is now off 
  } 
}

type /ai <on/off> to turn/off

foshizzle #198773 04/05/08 09:48 AM
Joined: Jan 2004
Posts: 161
R
RRX Offline
Vogon poet
Offline
Vogon poet
R
Joined: Jan 2004
Posts: 161
Thats funny! It uses the 'sockread' from the event name (as $event) to be 2 bytes shorter than sockread but wastes on the other hand 8 bytes by using $address($nick,2) instead of $wildsite.

RRX #198842 05/05/08 08:53 AM
Joined: Dec 2007
Posts: 48
K
Kol Offline
Ameglian cow
Offline
Ameglian cow
K
Joined: Dec 2007
Posts: 48
Absolutely hilarious.


Link Copied to Clipboard