mIRC Home    About    Download    Register    News    Help

Print Thread
#193721 24/01/08 04:50 PM
Joined: Aug 2007
Posts: 41
P
Panic Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Aug 2007
Posts: 41
Hello i am looking for a super script i would like it to do these things

1) Relay any chat/action/kick/ban from any channel on any network to SwiftIRC in #channel Like <Network> <#Channel> Info

2) Any PM's the bot gets relay them to SwiftIRC #channel like
PM > <Network> - PM text

3) Any notices the bot gets go like Notice > <network> - Text

I will change #channel later

Thanks if you can do this
Panic


CrazyMan IRC Bot Admin
IRC UnGoWa Support
NeoBlab Server-Admin
Chat Operator
Panic #193724 24/01/08 04:56 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
on *anything* event:#Channel1: {
if ($network == Network1) /scon -a if ($network == Network2) /msg #Channel2 The notice/pm/join/ban/kick that happened in #Channel1. $1- can return the kick message, text, notice, etc. Use $address($nick,1) or something for the on join and on part.
}

-Neal.

Joined: Aug 2007
Posts: 41
P
Panic Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Aug 2007
Posts: 41
I am confuzed


CrazyMan IRC Bot Admin
IRC UnGoWa Support
NeoBlab Server-Admin
Chat Operator
Panic #193736 24/01/08 08:40 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
I guess I was too specific.

The source code you are looking for is this:

if ($network == Network1) /scon -a if ($network == Network2) /msg #Channel2 <Text here>

For on join, <text here> would be $nick has joined $chan
For on part, <text here> would be $nick has left $chan

And you can use $address($nick,N) etc.

For on text, <text here> you could use $nick has said $1-.
Or $timestamp < $+ $nick $+ > $1-.

So you will need.

On join event, on part event, text, notice, etc. Whatever you want.

-Neal.


Link Copied to Clipboard