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 

Okay a few questions please...

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
bluenzo
Voice


Joined: 11 Dec 2008
Posts: 3

PostPosted: Thu Dec 11, 2008 5:35 am    Post subject: Okay a few questions please... Reply with quote

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 Neutral

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
View user's profile Send private message
user
 


Joined: 18 Mar 2003
Posts: 1452
Location: Norway

PostPosted: Thu Dec 11, 2008 10:34 am    Post subject: Reply with quote

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 Razz)
_________________
Have you ever read "The Manual"?
Back to top
View user's profile Send private message
bluenzo
Voice


Joined: 11 Dec 2008
Posts: 3

PostPosted: Thu Dec 11, 2008 12:11 pm    Post subject: Reply with quote

ok ty ill play around Razz
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help 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