This is a simple code based and edited from the snippets (codes whatever) on Yoinx's http://www.hawkee.com/phpBB2/viewtopic.php?t=4823 code here.
To start, simply input the channel you wish to spy on in "set %relay.chan1 #channelhere". Then put the channel you wish to view the other channel on "set %relay.chan2 #spychannelhere". Then type /setchan and the relaying will begin! (Sometimes you need to disconnect and reconnect for it to work)
I edited this because it seemed simple enough (for me) to use and I only wanted to use it on one server and to inconspicuously spy on a channel a friend was banned from.
Just to highlight it works on the ONE server you are on and relays to a channel on that specific server!
on *:LOAD:{ set %relay.chan1 $$?="Enter Channel you want to spy here:" | set %relay.chan1 $$?="Enter a Channel you want to spy from here:" | echo -a load succesfully. }
alias setchans {
set %relay.chan1 #channelyouwanttospyonhere
set %relay.chan2 #channelyouwanttospyfromhere
}
on *:text:*:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 $timestamp $($+(<,$nick,>)) $1-
}
}
on *:action:*:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 $timestamp $nick $1-
}
}
on *:join:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 Joins: $nick $address($nick,5)
}
}
on *:part:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 Parts: $nick $address($nick,5)
}
}
on @*:mode:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 mode %relay.chan2 $1-
}
}
on @*:topic:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 topic %relay.chan2 $1-
}
}
menu channel {
Simple Spy Bot:
.on://set %spy on
.off://set %spy off
}
okay peeps.. looking at this and at jubs issue of not seeing anything, i would surmise that he has not done the simple thing. spy scripts require you to be in the room you are spying in even if it is with another mirc connection on your pc. but you must be in the room you are spying on.. what the spy does is relay info from one channel to a channel of your choosing (ie an empty room you have made and set private or secret for example) and it will just copy whatever is put in one room to another.. that is the principles behind a spyscript.
ok how i do this
i did this
much and nothing comes up
on :LOAD:{ set %relay.chan1 $$?=\"Enter Channel you want to spy here:\" | set %relay.chan1 $$?=\"Enter a Channel you want to spy from here:\" | echo -a load succesfully. }
alias setchans {
set %relay.chan1 ##zbattles2
set %relay.chan2 #draco
}
on :text::%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 $timestamp $($+(<,$nick,>)) $1-
}
}
on :action::%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 $timestamp $nick $1-
}
}
on :join:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 Joins: $nick $address($nick,5)
}
}
on *:part:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 Parts: $nick $address($nick,5)
}
}
on @:mode:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 mode %relay.chan2 $1-
}
}
on @:topic:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 topic %relay.chan2 $1-
}
}
menu channel {
Simple Spy Bot:
.on://set %spy on
.off://set %spy off
}
on *:LOAD:{ set %relay.chan1 $$?=\"Enter Channel you want to spy here:\" | set %relay.chan1 $$?=\"Enter a Channel you want to spy from here:\" | echo -a load succesfully. }
alias setchans {
set %relay.chan1 #channelyouwanttospyonhere
set %relay.chan2 #channelyouwanttospyfromhere
}
on *:text:*:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 $timestamp $($+(<,$nick,>)) $1-
}
}
on *:action:*:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 $timestamp $nick $1-
}
}
on *:join:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 Joins: $nick $address($nick,5)
}
}
on *:part:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 msg %relay.chan2 Parts: $nick $address($nick,5)
}
}
on @*:mode:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 mode %relay.chan2 $1-
}
}
on @*:topic:%relay.chan1: {
if ( $chan(#).cid == 1 ) && (%Spy == on) {
scid 1 topic %relay.chan2 $1-
}
}
menu channel {
Simple Spy Bot:
.on://set %spy on
.off://set %spy off
}