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.

on join

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
b
blake
Master
Posts: 201
Joined: Mon Feb 23, 2009 9:42 am
Contact:

on join

Post by blake »

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: Select all

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
b
blake
Master
Posts: 201
Joined: Mon Feb 23, 2009 9:42 am
Contact:

Post by blake »

Any help with this one
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

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
Post Reply