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.
TakaShi^^
Voice
Posts: 36 Joined: Sat Apr 30, 2005 4:20 am
Location: Singapoe
Post
by TakaShi^^ » Mon May 23, 2005 2:47 pm
First it look like tis when a user join a channels...
User sets mode: +v-v User1 User1
After a while..about 30seconds...
User sets mode: +v User1
do anyone have tis script =\
Im learning!!!
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Mon May 23, 2005 5:37 pm
Code: Select all
bind join - * voice:delay
proc voice:delay {nick uhost hand chan} {
puthelp "MODE $chan +v-v $nick $nick"
utimer 30 [list pushmode $chan +v $nick]
}
TakaShi^^
Voice
Posts: 36 Joined: Sat Apr 30, 2005 4:20 am
Location: Singapoe
Post
by TakaShi^^ » Mon May 23, 2005 9:31 pm
w0w thank for ur delayed-voice script ^_^
hmm ... one qns...if i wan tis script to work on one channel...how?
Im learning!!!
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Tue May 24, 2005 1:45 am
you can use
Code: Select all
bind join - "#channel *" voice:delay
TakaShi^^
Voice
Posts: 36 Joined: Sat Apr 30, 2005 4:20 am
Location: Singapoe
Post
by TakaShi^^ » Wed May 25, 2005 9:57 am
i sense tis script is noisy....when netsplit time ....
* USER sets mode: -v user1
* USER sets mode: -v user2
* USER sets mode: -v user3
* USER sets mode: -v user4
* USER sets mode: -v user5
How to improve tis script so tat even if any user have the modes +v did not have to be devoice by USER
Im learning!!!
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Thu May 26, 2005 12:36 am
Code: Select all
bind join - "*" voice:delay
proc voice:delay {nick uhost hand chan} {
utimer 30 [list do:voice $nick $chan]
}
proc do:voice {nick chan} {
if {![isvoice $nick $chan] && [botisop $chan]} {
pushmode $chan +v $nick
}
}
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Thu May 26, 2005 2:44 pm
TakaShi^^ wrote: i sense tis script is noisy....when netsplit time ....
* USER sets mode: -v user1
* USER sets mode: -v user2
* USER sets mode: -v user3
* USER sets mode: -v user4
* USER sets mode: -v user5
How to improve tis script so tat even if any user have the modes +v did not have to be devoice by USER
if you want to check if nick is already voiced then add
before the puthelp line (and don't forget to close the brace)
Edit: Forgot to specify $chan in the isvoice command (good eye awyeah), otherwise it would check if nick isvoice on all channels (returns 1 if voiced on atleast 1 channel)
Last edited by
Sir_Fz on Thu May 26, 2005 5:11 pm, edited 1 time in total.
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Thu May 26, 2005 3:21 pm
Sir_Fz wrote:
if you want to check if nick is already voiced then add
before the puthelp line (and don't forget to close the brace)
This is wrong, use:
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================