Linking / Relay Request

Post Reply
Author
Message
swfebrinaldi
Offline
Member
Posts: 20
Joined: Sun Oct 31, 2010 10:23 am

Linking / Relay Request

Post by swfebrinaldi »

Is it possible to make new command to particularly network number. Let say We linking with irc server1 (network1) and irc server2 (network2). Example When we try to make new command

!test = network1>/msg nickX $1-

Even the command is from other people in network2.

Indy
User avatar
Offline
Site Admin
Posts: 465
Joined: Thu Oct 16, 2008 1:58 pm
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Contact:

Re: Linking / Relay Request

Post by Indy »

You could do that if you write your command in Lua script.
You can also contact me via email or instant messenger, links are at the bottom of this post.

swfebrinaldi
Offline
Member
Posts: 20
Joined: Sun Oct 31, 2010 10:23 am

Re: Linking / Relay Request

Post by swfebrinaldi »

Could you please give me 1 simple example of Lua script that we can use on v5 and how to put it on the bot..

Indy
User avatar
Offline
Site Admin
Posts: 465
Joined: Thu Oct 16, 2008 1:58 pm
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Contact:

Re: Linking / Relay Request

Post by Indy »

I guess you didn't visit the wiki :) There is an example on the Lua plugin page at http://wiki.shoutirc.com/index.php/Plugin:Lua

Just change netno in SendPM to the network number you want to send the message to.
You can also contact me via email or instant messenger, links are at the bottom of this post.

Post Reply