| View previous topic :: View next topic |
| Author |
Message |
bluenzo Voice
Joined: 11 Dec 2008 Posts: 3
|
Posted: Thu Dec 11, 2008 5:35 am Post subject: Okay a few questions please... |
|
|
I got my bot to oper itself... Now I need it to +qa itself when it joins a room...
I have no idea how to do that
Also... Two things...
1) My bot give itself +o onjoin on 2 rooms (1 minute after joining? is there a way to make it faster?), but not the other two??
| Code: | channel add #Services {
chanmode "+nt"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay 5:30
need-op { putserv "MODE #Services +qa BlueBot" }
need-invite { putserv "INVITE #Services BlueBot" }
need-key { putserv "INVITE #Services BlueBot" }
need-unban { putserv "INVITE #Services BlueBot" }
need-limit { putserv "INVITE #Services BlueBot" }
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
}
channel add #Opers {
chanmode "+nt"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay 5:30
need-op { putserv "MODE #Opers +qa BlueBot" }
need-invite { putserv "INVITE #Opers BlueBot" }
need-key { putserv "INVITE #Opers BlueBot" }
need-unban { putserv "INVITE #Opers BlueBot" }
need-limit { putserv "INVITE #Opers BlueBot" }
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
}
channel add #Help {
chanmode "+nt"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay 5:30
need-op { putserv "MODE #Help +qa BlueBot" }
need-invite { putserv "INVITE #Help BlueBot" }
need-key { putserv "INVITE #Help BlueBot" }
need-unban { putserv "INVITE #Help BlueBot" }
need-limit { putserv "INVITE #Help BlueBot" }
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
}
channel add #Main {
chanmode "+nt"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay 5:30
need-op { putserv "MODE #Main +qa BlueBot" }
need-invite { putserv "INVITE #Main BlueBot" }
need-key { putserv "INVITE #Main BlueBot" }
need-unban { putserv "INVITE #Main BlueBot" }
need-limit { putserv "INVITE #Main BlueBot" }
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
}
|
#Main and #Help, the bot gives itself +o after 1 minute of joining...
It doesnt op itself (i want +qa not +o) in #Opers and #Services
Also... how do I properly use need-unban?? The bot is netadmin so I was thinking of inviting itself to the channel to bypass the ban...then joining the room...
I tried searching for need-unban i couldnt find exactly what I wanted... |
|
| Back to top |
|
 |
user

Joined: 18 Mar 2003 Posts: 1452 Location: Norway
|
Posted: Thu Dec 11, 2008 10:34 am Post subject: |
|
|
Use the dcc command '.chanset' to change channel settings. If you do it using a script, the settings will be overwritten by what is saved in your .chan file. (or, if you insist on doing it like that, kill the bot, delete the chan file and start it back up when ever you make changes ) _________________ Have you ever read "The Manual"? |
|
| Back to top |
|
 |
bluenzo Voice
Joined: 11 Dec 2008 Posts: 3
|
Posted: Thu Dec 11, 2008 12:11 pm Post subject: |
|
|
ok ty ill play around  |
|
| Back to top |
|
 |
|