| View previous topic :: View next topic |
| Author |
Message |
focus_user Voice
Joined: 10 Aug 2005 Posts: 4
|
Posted: Wed Aug 10, 2005 4:52 am Post subject: Mass-notice for user_class in IRCD !? |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Aug 10, 2005 5:00 am Post subject: |
|
|
| 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 |
|
 |
focus_user Voice
Joined: 10 Aug 2005 Posts: 4
|
Posted: Wed Aug 10, 2005 5:16 am Post subject: |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Aug 10, 2005 5:23 am Post subject: |
|
|
| 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 |
|
 |
focus_user Voice
Joined: 10 Aug 2005 Posts: 4
|
Posted: Mon Aug 15, 2005 6:14 am Post subject: re |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Aug 15, 2005 12:35 pm Post subject: |
|
|
| 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 |
|
 |
focus_user Voice
Joined: 10 Aug 2005 Posts: 4
|
Posted: Thu Aug 18, 2005 1:29 pm Post subject: |
|
|
| thanks a lot man |
|
| Back to top |
|
 |
|