bot script

By buckycat on Mar 10, 2009

This is a bot I tried to make when I was bored. It sucks, I can't script.

on 9999:TEXT:!n*:#: {
  nick $2
}
on *:TEXT:I farted*:#: {
  msg $chan Thank you for sharing, $nick $+ .
}
on *:TEXT:!identify*:#: {
  msg nickserv identify <pass>
}
on *:TEXT:!notice*:#: {
  notice $2 $3- (from $nick in $chan ) 
}
on *:TEXT:!j*:#: {
  join $2 
}
on *:TEXT:!p*:#: {
  part $2 $nick wants me to leave this channel.  
}
on *:TEXT:!msg*:#: {
  msg $2 $3- (from $nick in $chan ) 
}
on 9999:TEXT:*:#:{if ($me $+ , isin $1) {
  if $2 == say { msg $chan $3- }
  elseif $2 == have { describe $chan has $3- }
  elseif $2 == you { msg $chan I $3- }
  elseif $3 == my { describe $chan $2s your $4- }
  elseif $2 == sex { describe $chan sexes $3- }
  elseif $3 == your { describe $chan $2s my $4- }
  elseif $2 == kiss { describe $chan $2es $3- }
  elseif $2 == topic { topic $chan $3- }
  elseif $2 == mode { mode $chan $3- }
  elseif $2 == do { describe $chan $2es $3- }
  elseif $3 == yourself { describe $chan $2s itself $4- }
  elseif $3 == me { describe $chan $2s $nick $4- }
  else { describe $chan $2s $3- }
}
on 500:TEXT:*:#:{if ($me $+ , isin $1) {
  if $2 == say { msg $chan $3- }
  elseif $2 == have { describe $chan has $3- }
  elseif $2 == you { msg $chan I $3- }
  elseif $3 == my { describe $chan $2s your $4- }
  elseif $2 == sex { describe $chan sexes $3- }
  elseif $3 == your { describe $chan $2s my $4- }
  elseif $2 == kiss { describe $chan $2es $3- }
  elseif $2 == topic { topic $chan $3- }
  elseif $2 == mode { mode $chan $3- }
  elseif $2 == do { describe $chan $2es $3- }
  elseif $3 == yourself { describe $chan $2s itself $4- }
  elseif $3 == me { describe $chan $2s $nick $4- }
  else { describe $chan $2s $3- }
}
on *:TEXT:*:#:{if ($me $+ , isin $1) {
  if $2 == say { msg $chan $3- }
  elseif $2 == have { describe $chan has $3- }
  elseif $2 == you { msg $chan I $3- }
  elseif $3 == my { describe $chan $2s your $4- }
  elseif $2 == sex { describe $chan sexes $3- }
  elseif $3 == your { describe $chan $2s my $4- }
  elseif $2 == kiss { describe $chan $2es $3- }
  elseif $2 == topic { msg $chan No. }
  elseif $2 == mode { msg $chan No. }
  elseif $2 == do { describe $chan $2es $3- }
  elseif $3 == yourself { describe $chan $2s itself $4- }
  elseif $3 == me { describe $chan $2s $nick $4- }
  else { describe $chan $2s $3- }
}

Comments

Sign in to comment.
berend   -  Sep 02, 2010

to many text events lol
and use $2 $+ es, else it wont work.

 Respond  
ssimar   -  Apr 08, 2010

w00t

 Respond  
buckycat   -  Mar 11, 2009

Edited it a bit.

 Respond  
PuNkTuReD   -  Mar 10, 2009

considering the scripts weve been getting lately by first time posters,
at least this has potential

 Respond  
slacker   -  Mar 10, 2009

lmao @ Xpl0reR
but yeah this is coded bad.

 Respond  
xplo   -  Mar 10, 2009

buckycat, you were right in your introdiction.

It sucks. :/
3/10

 Respond  
PuNkTuReD   -  Mar 10, 2009

ahh nice nice

 Respond  
Aucun50   -  Mar 10, 2009

Yes you can:

$level(address)

Finds a matching address in the remote users list and returns its corresponding levels list.

 Respond  
Kirby   -  Mar 10, 2009

PunkTuReD, couldn't you use that identifier, (I forgot what it's called but), $level to look up the person's address to see if they're listed in the Address Book? With that method, I believe you can put it all under one on text, even though that's not necessary.

 Respond  
PuNkTuReD   -  Mar 10, 2009

he would still need more than one because of the

on master:TEXT::#:
on owner:TEXT:
:#:

so he could drop it down to three at least

although all the
$2es
will trigger an echo error

use
$2 $+ es
or
$+($2,es)

 Respond  
Aucun50   -  Mar 10, 2009

Well no need for all the on text events, one is good enough.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.