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 

on join

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
blake
Master


Joined: 23 Feb 2009
Posts: 201

PostPosted: Sat Jan 16, 2010 7:08 pm    Post subject: on join Reply with quote

looking for an on join script that will do the following when i add a channel on the partyline

Check to see if a channel is registered with chanserv or check to see if Chattersworld is in the room and if its not it will send a set of comands to the server ive done a little script that im using but dont work on join

Code:
bind pub m|m !reg18 reg18_proc
proc reg18_proc { nick uhost hand chan arg } {
  putserv "OPERSERV :MODE $chan +o ChanGuardian"
  putserv "CHANSERV :REGISTER $chan password $chan"
  putserv "BOTSERV :ASSIGN $chan ChattersWorld"
  putserv "BOTSERV :KICK $chan FLOOD ON"
  putserv "BOTSERV :KICK $chan REPEAT ON"
  putserv "OPERSERV :MODE $chan +q $nick"
  putserv "CHANSERV :SET $chan FOUNDER $nick"
  putserv "CHANSERV :ACCESS $chan ADD ChanGuardian 10"
  putserv "OPERSERV :MODE $chan -qo ChanGuardian"
  putserv "OPERSERV :MODE $chan +a ChanGuardian"
  putserv "TOPIC $chan :Welcome To $chan On ChattersWorld (+18)"
  putserv "MODE $chan +NC"
}


also need an on join that will check if the bot has been set as mode +qo on channels it joins and if it has it should do operserv mode $chan -qo+ao

many thanks
_________________
Blake
UKEasyHosting UKStormWatch
Back to top
View user's profile Send private message Visit poster's website
blake
Master


Joined: 23 Feb 2009
Posts: 201

PostPosted: Thu Jan 21, 2010 10:49 am    Post subject: Reply with quote

Any help with this one
_________________
Blake
UKEasyHosting UKStormWatch
Back to top
View user's profile Send private message Visit poster's website
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Fri Jan 22, 2010 6:49 pm    Post subject: Reply with quote

I'm not sure if this is what you want, but there is a module for Anope services that automatically adds a bot to newly registered channels - I use it myself.

It's called bs_autoassign and you can get it here
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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