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.
Old posts that have not been replied to for several years.
L
Luxar
Post
by Luxar » Fri Dec 14, 2001 10:34 pm
Hi there,
i need a tcl-script which voices all users on a channel without giving all nicks as a parameter.
shall be a publich command like !voiceall.
i dont know, who to tell the script all the nicks on the channel...
Thanks for helping, Luxar
a
agoni
Post
by agoni » Sat Dec 15, 2001 1:12 am
[chanlist $channel] return the list of $channel so u can test this script. Need to be op of $channel to use the commande !allvoice
bind pub - !allvoice massvoice
proc massvoice {nick uhost hand channel arg} {
if [isop $nick $channel] {
if [botisop $channel] {
foreach needvoice [chanlist $channel] {
if !([isop $needvoice $channel]||[isvoice $needvoice $channel]) {
pushmode $channel +v $needvoice
}
}
}
}
}
<font size=-1>[ This Message was edited by: agoni on 2001-12-14 22:32 ]</font>
L
Luxar
Post
by Luxar » Sat Dec 15, 2001 3:40 am
Works fine.
Thanks alot, Luxar
B
B|aDe
Post
by B|aDe » Tue Dec 18, 2001 8:07 am
Hi,
I'm on the irc.webchat.org network and the !allvoice code didnt work for me. The bot only voiced 4 people and stopped.
<_andy> !allvoice
[20:53] *** HmongChat sets mode: +vvv Killer`` jo|-|nnY AuSSie^LoRsTa^cHick
[20:53] *** HmongChat sets mode: +v nano_bibadee_babadee_buu_icu
any ideas?
Thanks...
Andy
Petersen
Owner
Posts: 685 Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK
Post
by Petersen » Tue Dec 18, 2001 4:55 pm
At a guess I'd say you haven't set your network settings right (ie, modes per line). Could also just be eggdrop rebelling aginst redicuously long nicks