CopyKat

By DarthReven on Mar 03, 2005

I'm tried of the stream of mimic scripts that copy the code of the original "Mimic" script. In this fustration I made this bout 2 years ago when i first got mimic and i added it to it.

menu nicklist {
  $iif(!%m.nick,$iif($1 != $me,Mimic $1,-Unable to Mimic Yourself-),$iif(%m.nick == $1,Stop mimic on $1,Switch Mimic from %m.nick to $1)) {
    if (!%m.nick) {
      if ($1 != $me) {
        %m.nick = $1
        echo -a -> Mimicing: $1
      }
    }
    else {
      if (%m.nick == $1) {
        unset %m.nick
        echo -a -> Stopped Mimicing: $1
      }
      else {
        %m.nick = $1
        echo -a -> Switched Mimic to: $1
      }
    }
  }
}
menu channel,menubar,status {
  $iif(%m.nick,Stop Mimic on %m.nick,--Mimic is disabled--) {
    if (%m.nick) {
      unset %m.nick
      echo -a -> Stopped Mimicing: $1
    }
  }
}
on *:text:*:#: {
  if ($nick == %m.nick) {
    msg $chan $1-
  }
}
on *:action:*:#: {
  if ($nick == %m.nick) {
    describe $chan $1-
  }
}
on *:nick: {
  if ($nick == %m.nick) {
    %m.nick = $newnick
  }
}
on *:part:#: {
  if ($nick == %m.nick) {
    if (!$comchan($nick,0)) {
      unset %m.nick
      echo -a -> Stopped Mimic on: $nick
    }
  }
  elseif ($nick == $me) {
    if (!$comchan(%m.nick,0)) {
      echo -a -> Stopped Mimic on: %m.nick
      unset %m.nick
    }
  }
}
on *:quit: {
  if ($nick == %m.nick) {
    unset %m.nick
    echo -a -> Stopped Mimic on: $nick
  }
  elseif ($nick == $me) {
    unset %m.nick
  }
} 

Comments

Sign in to comment.
Jethro   -  Sep 18, 2009

@Animity, here is the modified, stripped-down version of DarthReven's script and can now mimic more than one person. All you do is right click and add users you want to imitate, as well as remove users you don't want to imitate anymore:

menu * {
  -
  Add $1 to Mimicry {
    if ($1 isin %m.nick) { 
      echo -a * $1 is ALREADY added! 
    }
    elseif ($1 != $me) { 
      set %m.nick $addtok(%m.nick,$1,32)
      echo -a * Mimicing $1 added!
    }
    else { echo -a * You can't mimic yourself! }
  }
  Remove $1 from Mimicing {
    if ($1 !isin %m.nick) { 
      echo -a * $1 is ALREADY removed! 
    }
    else {
      set %m.nick $remtok(%m.nick,$1,1,32)
      echo -a * Mimicing $1 has been removed!
    }
  }
}
on *:text:*:#:if ($istok(%m.nick,$nick,32)) { .msg $chan $1- }
on *:action:*:#:if ($istok(%m.nick,$nick,32)) { .describe $chan $1- }

Note: I didn't include the part, nick and quit event.

 Respond  
Animity   -  Sep 17, 2009

How would you be able to make this script mimic more than one person at a time?

 Respond  
Gex   -  Feb 20, 2006

well...code is written properly and is considered high quality at least from my point of view...however my question is this so useful to get all that popularitY??maybe i dnt c the point of this snippet <-- when i look to a snippet i rate it through the code quality so i have to say this is good using alot of $iif n bla for error handling and etc is good. finally nice code darthreven but u didnt answer my question yet :P

 Respond  
bigben again   -  Jul 14, 2005

Great script! Can you make it so you have to set the channel for each name? I don\'t want to end up copying some one in the main channel...

 Respond  
BBoy   -  Mar 27, 2005

nvm sry great script i like 2 use it

 Respond  
BBoy   -  Mar 27, 2005

a coppy cat

 Respond  
DarthReven   -  Mar 19, 2005

all mimic is basically is a way to bug a user by having your mIRC copy everything they say and relaying it back to the channel automatically, the original Mimic script just had the on text and on action and you had to turn it on and off in the nicklist

 Respond  
PoiXon   -  Mar 13, 2005

think so, there loads of versions of mimic scripts =S

 Respond  
Pikachuh   -  Mar 13, 2005

so an classic echo script it is?

 Respond  
PoiXon   -  Mar 13, 2005

when u set it onto a person you will repeat every word the person says

 Respond  
Pikachuh   -  Mar 13, 2005

actually whats a mimic?

 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.