mIRC Home    About    Download    Register    News    Help

Print Thread
#131283 28/09/05 02:30 AM
Joined: Sep 2005
Posts: 53
C
Babel fish
OP Offline
Babel fish
C
Joined: Sep 2005
Posts: 53
How would you repeat what some one said?

on *:notice:*$?:# /msg $chan

err, thats all I got. Dont know if Im right

#131284 28/09/05 02:37 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You want to repeat everything they said?

For notice:
On *:Notice:*:#: { msg $chan $1- }

For text:

On *:Text:*:#: { msg $chan $1- }

-Andy

#131285 28/09/05 03:24 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
lol can you amaigne two people with that script, and someone says soemthing!

#131286 28/09/05 03:35 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I'll try not to imagine at this time one of them will flood off.. frown

-Andy

#131287 28/09/05 04:52 AM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Feel free to edit in /say $replacecs($1-,you,I, me,you, your,my, my,your) etc. I'm not sure, but you can plug in $me, $nick, $nick, $me.

#131288 28/09/05 01:45 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
A good mimic script with protection against 2 people using it and being flooded off is:

Code:
on *:text:*:#: {
  if (%mimic == $null) {
    msg $chan $1-
    set -u3 %mimic 1
  }
}


This will only repeat a line every 3 seconds... So, if you repeat someone and they repeat you, you won't just repeat them again unless they repeat you more than 3 seconds after you repeated them. If you have lag issues, increase 3 to something higher.

And, as mentioned, you can edit your repeated text with $replace if you want to. From your description, I have a feeling you're just looking for a 1:1 mimic script, though.

Note, change # in the first line to either * if you want to mimic text in queries and chats as well as channels, or to #yourchannel if you want to only mimic text from a specific channel.


Invision Support
#Invision on irc.irchighway.net
#131289 29/09/05 07:06 PM
Joined: Sep 2005
Posts: 53
C
Babel fish
OP Offline
Babel fish
C
Joined: Sep 2005
Posts: 53
The Text works fine, but the Notice dont work.

#131290 30/09/05 12:56 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
repeat the code, but change on *:text:* to on *:notice:*


Link Copied to Clipboard