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 

Mass-notice for user_class in IRCD !?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
focus_user
Voice


Joined: 10 Aug 2005
Posts: 4

PostPosted: Wed Aug 10, 2005 4:52 am    Post subject: Mass-notice for user_class in IRCD !? Reply with quote

Hello everyone.

I`m searching of a script (on eggdrop with IRCOp PRIVS) which can mass-notice users from specified user_class at the IRCD. For example I need to send mass-notice to all users (which are in class: users) and to do so by a command (exm: .msg notice class message)... did someone has something like that?

If so, please share it to me. Thanks very much in advance.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Aug 10, 2005 5:00 am    Post subject: Reply with quote

no need of a script, most servers support /notice $irc.server.com or /notice $$servermask, which sends to all users on the given server or set of matching servers
Back to top
View user's profile Send private message Visit poster's website
focus_user
Voice


Joined: 10 Aug 2005
Posts: 4

PostPosted: Wed Aug 10, 2005 5:16 am    Post subject: Reply with quote

wow... it works...

thank you very much demond, you save a lot of time for searching for me.
by the way (the ircd-version is hybrid www.ircd-hybrid.com)
Do the server has other such interesting commands as that ?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Aug 10, 2005 5:23 am    Post subject: Reply with quote

check out the contrib directory of ircd-hybrid distribution and you'll find other interesting commands (they are disabled and not compiled/installed by default, you'll need to run make install there)
Back to top
View user's profile Send private message Visit poster's website
focus_user
Voice


Joined: 10 Aug 2005
Posts: 4

PostPosted: Mon Aug 15, 2005 6:14 am    Post subject: re Reply with quote

Hi again.

I`ve seen ur post (if u remember) about the mass-notice messaging of all users from a server. I want to ask you, if there is a way I could message onconnect my users in the IRCD somehow with .tcl in my eggdrop? I`ll be very appreciate to you, if u can help me please?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Aug 15, 2005 12:35 pm    Post subject: Reply with quote

Code:

bind raw - notice foo
bind evnt - init-server bar
proc foo {f k t} {
   scan $::server {%[^:]} s
   if {$f == $s && [string match "*Client connecting: *" $t]} {
      set n [lindex [split $t] 6]
      putserv "privmsg $n :hi"
   }
}
proc bar t {
   putserv "oper $::nick operpass"
   putserv "mode $::botnick +c"
}

of course, the bot needs to have ircop status (local will suffice)
Back to top
View user's profile Send private message Visit poster's website
focus_user
Voice


Joined: 10 Aug 2005
Posts: 4

PostPosted: Thu Aug 18, 2005 1:29 pm    Post subject: Reply with quote

thanks a lot man
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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