Help with copy chat bot

By fumpyy@gmail.com on Aug 31, 2014

I want it to copy anything a user says if %me.user = 0

on *:TEXT:!annoy *:#: {
  set %me. $+ $2 0
  msg $chan Now annoying $2 , to turn off use !stop $2
}

on *:TEXT:!stop *:#: {
  unset %me. $+ $2 0
  msg $chan Not annoying $2 anymore.
}

on *:text:**:#: {
  if (%me. $+ $nick == 0 ) {  }
  else {
    { msg $chan $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 }
  }
}

Comments

Sign in to comment.
Arigateaux   -  Sep 01, 2014

A few things to note here:

  • Make sure the nick you're trying to annoy is actually present in the channel.
if ($2 ison $chan)
  • Make sure you have a check for !annoy and !stop being used.
if (%me. $+ $2)
  • On execution, you only need one *****.
on *:text:*:#:{
  • You don't need an else if your check passes.
if (%me. $+ $nick) msg $chan $1-
 Respond  
fumpyy@gmail.com   -  Sep 01, 2014

Help?

Herc08  -  Sep 01, 2014

In your case, you would probably want to do something like this

on :TEXT:!annoy :#: {
set %me. $+ $2 $true
msg $chan Now annoying $2 , to turn off use !stop $2
}

on :TEXT:!stop :#: {
unset %me. $+ $2 $true
msg $chan Not annoying $2 anymore.
}

on *:text:**:#:$iif(%me. [ $+ [ $nick ] ],msg $chan $1-,return)

Sign in to comment

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.