egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

nick to nick relay

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
eggi
Voice


Joined: 15 Sep 2005
Posts: 11

PostPosted: Sat Dec 01, 2007 5:47 am    Post subject: nick to nick relay Reply with quote

i want a nick to nick relay tcl. Not all the things going on in main window.
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Sat Dec 01, 2007 11:50 am    Post subject: Re: nick to nick relay Reply with quote

eggi wrote:
i want a nick to nick relay tcl. Not all the things going on in main window.
"nick to nick relay" is generally called a "query" or "private message"
Are you looking for something that sends a bot user (such as the owner for example) a copy of all private messages received by the bot?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Dec 01, 2007 1:27 pm    Post subject: Reply with quote

I guess he meant relaying messages of each nick from 1 channel to another. Something like this:
Code:
set relayChannels {#chan1 #chan2 #chan3}

bind pubm - * relay:msgs

proc relay:msgs {nick uhost hand chan arg} {
 global relayChannels
 if {[lsearch -exact $relayChannels $chan] != -1} {
  foreach c $relayChannels {
   if {$c == $chan} {continue}
   puthelp "privmsg $c :\[<$nick> ($chan)\] $arg"
  }
 }
}

This relays messages between relayChannels.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
eggi
Voice


Joined: 15 Sep 2005
Posts: 11

PostPosted: Sat Dec 01, 2007 10:13 pm    Post subject: Reply with quote

i want to relay 1 server to another. one nick to another nick.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Dec 02, 2007 8:34 am    Post subject: Reply with quote

Search in the Tcl archive. I recall there are script(s) which allow you to choose what to relay from server to server.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber