View unanswered posts | View active topics It is currently Tue Dec 12, 2017 9:21 pm



Reply to topic  [ 4 posts ] 
 Linking / Relay Request 
Author Message
Member

Joined: Sun Oct 31, 2010 10:23 am
Posts: 20
Medals: 11
RadioBot Owner (1) Feature Requester (3)
Longevity (7)
Post Linking / Relay Request
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.


Thu Mar 26, 2015 3:44 am
Profile
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 18
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (14)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Linking / Relay Request
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.


Thu Mar 26, 2015 10:30 am
Profile YIM WWW
Member

Joined: Sun Oct 31, 2010 10:23 am
Posts: 20
Medals: 11
RadioBot Owner (1) Feature Requester (3)
Longevity (7)
Post Re: Linking / Relay Request
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..


Sat Mar 28, 2015 2:24 pm
Profile
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 18
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (14)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Linking / Relay Request
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.


Sat Mar 28, 2015 2:29 pm
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.