This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Auto-op on a local network

Old posts that have not been replied to for several years.
Locked
P
Pumba
Voice
Posts: 2
Joined: Fri Jul 15, 2005 7:32 pm

Auto-op on a local network

Post by Pumba »

I´m currently trying to script a bot on a local network. And I need the bot to be able to autoop ppl on the network. Furthermore I wnat the script to give voice to everyone else connecting to the server. I know the ip range of the ppl on the network, and voice should be given to everybody else that is connecting. I am hoping for some quick feedback. And hope that an answer for this answer havent been given before. If so. Please direct me to the thread. Because I havent been able to find it through the search function.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

you should have posted this in the script help forum, but anyway

use this:

Code: Select all

# your local network network IP range
set localmask *@192.168.*

bind join - * foo
proc foo {n u h c} {
   if {[string match $::localmask $u]} {
      pushmode $c +o $n
   } else {
      pushmode $c +v $n
   }
}
P
Pumba
Voice
Posts: 2
Joined: Fri Jul 15, 2005 7:32 pm

Post by Pumba »

Thank you for your reply
Locked