mIRC Home    About    Download    Register    News    Help

Print Thread
#198473 29/04/08 01:58 PM
Joined: Apr 2008
Posts: 2
S
sn1p0r1 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
S
Joined: Apr 2008
Posts: 2
IM looking for a script than can take requests from room 1 on network 1 and send them to room 1 on network 2. Example:

Radio-Listener says: !r artist - title in #radio

Network two(DJ ROOM) sees: Radio Listener requests artist - title from Network 1

reason it must say which network is so we can expand to 3 networks eventually.

Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
on *:TEXT:!r*:#radio:{
if ($network == Yournetwork) { scon 2 /msg #secondserverchannel $nick requests $$2- from $v1 }
}

replace Yournetwork with the network 1 type //echo -a $network anywhere to see whats the network and replace #secondserverchannel with the channel on the second server you want to message.

The download fall of a script like this is someone could always manipulate text from one server to the other and not only flood the one network but make the bot flood the second has well.

If I were you I would add timers per request and tighten up the format like example if someone types

!r whatever - whatever < would be good

while if someone typed

!r whatever whatever < wouldnt be correct

Anyhoo long story short read your mirc help file by typing

/help on Text
/help timers
/help /scon or $scon



Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Do not use

on *:TEXT:!r*:#radio:{
if ($network == Yournetwork) { scon 2 /msg #secondserverchannel $nick requests $$2- from $v1 }
}

has found it can cause potential threats

Look in your other posts the talk is there


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }

Link Copied to Clipboard