Bot Join

By Midnight_Lynx on Nov 10, 2009

This is a script I made for when i wanted to have my own little "bot" joining rooms and parting rooms without having to actually type the command to join/part the room. If you find any flaws please let me know :)

To use put in remotes and type .join or .part #channel ( Replace "Nick" with your nick you use ) pretty much easy unless your new to using scripts.

on *:text:*:#: {
  if ($left($2,1) != $chr(35)) && ($istok(join part,$1,32)) {
    set %r $strip($1)
    %r $+($chr(35),$strip($2))
    unset %r
  }
  elseif ($istok(join part,$1,32)) {
    set %r $strip($1)
    %r $strip($2)
    unset %r
  }
  else {
    halt
  }
}

Comments

Sign in to comment.
Jethro   -  Nov 17, 2009

Nice work, gooshie, as always.

 Respond  
Midnight_Lynx   -  Nov 17, 2009

I did GlobalAnomaly O.o i think.. lol

 Respond  
gooshie   -  Nov 12, 2009
on $*:TEXT:/^.?(join\b|part\b)/iS:#:{
  tokenize 32 $strip($1-)
  $1 $iif($left($2,1) = $chr(35),$2,$v2 $+ $2)
}
 Respond  
GlobalAnomaly   -  Nov 11, 2009

If yer gonna use my script instead of yours, you should change the directions caleb :P

 Respond  
Cold_Fussion   -  Nov 11, 2009

no prob man... nice snippet though...
everyone makes it hectic.. lol what it is now... 6/10... but im sure in the future, this snippet will be a full on bot by everyone chipping in some code ^_^

 Respond  
Jethro   -  Nov 11, 2009

Aside from the name-calling, here is my take on the join and part:

on $*:TEXT:/[.](\w+)/iS:#: {
  $iif($left($2,1) = $chr(35) && $regml(1) = join,$v2 $2)
  $iif($left($2,1) = $chr(35) && $regml(1) = part,$v2 $2)
}
 Respond  
Midnight_Lynx   -  Nov 11, 2009

Lol thanks GlobalAnomaly :P

 Respond  
GlobalAnomaly   -  Nov 11, 2009

Ehh. Thought I'd give it a try.

on *:text:*:#: {
  if ($left($2,1) != $chr(35)) && ($istok(join part,$1,32)) { 
    set %r $strip($1)
    %r $+($chr(35),$strip($2))
    unset %r
  }
  elseif ($istok(join part,$1,32)) {
    set %r $strip($1)
    %r $strip($2)
    unset %r
  }
  else {
    halt
  }
}

o_o;; That's what I came up with.

 Respond  
Midnight_Lynx   -  Nov 11, 2009

And Thanks Cold-Fussion I'll use that one :)

 Respond  
Midnight_Lynx   -  Nov 10, 2009

lol Ghost-writer pft lol

 Respond  
Ghost-writer   -  Nov 10, 2009

loser o.o
idc if your bot parts all.

 Respond  
Cold_Fussion   -  Nov 10, 2009

if i may...

on :TEXT:.join:#: {
if $left($2,1) != $chr(35) { halt }
if $nick == Nick {
if $me !ison $2 { msg $chan Im On My Way To $2 Now $nick | join $2 }
else { msg $chan Im already In $2 $nick you Dipshit }
}
}

 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.