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.

Autovoicing

Old posts that have not been replied to for several years.
Locked
P
Princess
Voice
Posts: 5
Joined: Tue Feb 01, 2005 11:17 am

Autovoicing

Post by Princess »

I'm a total tcl newb and i want to get the eggdrop to auto voice everyone in one channel and only certain nicks with wild cards in the other room and i cant seem to get it to work :cry:
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

.chanset #yourchan +autovoice
then
.+user voiceusers
.chattr voiceusers +v #yourchan
then just add whatever masks to this handle.
ex:
.+host voiceusers voice1!*@host
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Code: Select all

set autovoice(doall) "#channel1"
set autovoice(specific) "#channel2"

set autovoice(hosts) {
  foo!*@*
  *!*@bar.com
}

bind join * * autovoice:join

proc autovoice:join {nick uhost hand chan} {
  global autovoice
  if {[isbotnick $nick]} {
    return
  }
  if {[lsearch $autovoice(doall) $chan] != -1} {
    if {![botisop $chan]} {
      return
    }
    pushmode $chan +v $nick
    } elseif {[lsearch $autovoice(specific) $chan] != -1} {
    if {![botisop $chan]} {
      return
    }
    foreach mask $autovoice(hosts) {
      if {[string match -nocase $mask $nick!$uhost]} {
        pushmode $chan +v $nick
        break
      }
    }
  }
}
Once the game is over, the king and the pawn go back in the same box.
P
Princess
Voice
Posts: 5
Joined: Tue Feb 01, 2005 11:17 am

Post by Princess »

Thanks shame it isn't working :(
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

caesar wrote:

Code: Select all

set autovoice(doall) "#channel1"
set autovoice(specific) "#channel2"

set autovoice(hosts) {
  foo!*@*
  *!*@bar.com
}
did you set these up princess?
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

You can also do it via the autovioce function as Sir_Fz mentioned. Let me desrcibe the steps in a bit detail:

- Create any new user in the bot.
- Give it flags v|v (depending upon local or global and the chan)
- Then set the chan to +autovoice for which you want it to work on.
- Then for the user add a host *!*@*, *!*@*.* or say *@* (which matches everyone)
- Save the user file

- If you want for certain ones, (the above is to voice everyone) as Sir_Fz said, in the same user's hosts, add the hosts which you like. E.g: *!cool@208.*, *!*@*.cable.com, sexy!chick@*.... and so on.

You can also set the autovoice delay so if alot of users joins, the bot doesn't make a mode +v flood, and voices people after a delay of the defined number of seconds.

That's about it I say!
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
P
Princess
Voice
Posts: 5
Joined: Tue Feb 01, 2005 11:17 am

;\

Post by Princess »

id have to add over 100 non registered users into the bot and yeah i set up the hosts i tried it two different ways and no luck :\
it works on one channel were it voices everyone
i did do .chanset #chan +autovoice
but nothing
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Re: ;\

Post by Sir_Fz »

Princess wrote:id have to add over 100 non registered users into the bot and yeah i set up the hosts i tried it two different ways and no luck :\
it works on one channel were it voices everyone
i did do .chanset #chan +autovoice
but nothing
For the channel where you want to voice everyone, Instead of adding each unregistered user's host to the bot, you can simply add *!*@* which matches everybody's hosts. As for the other channel where you only want certain people to be voiced, just add their certain masks (refer to awyeah's post for examples).

PS: This has nothing to do with the script caesar gave you.
Locked