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 

devoice users after 1 line spoken

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


Joined: 23 Mar 2006
Posts: 3

PostPosted: Thu Mar 23, 2006 10:18 am    Post subject: devoice users after 1 line spoken Reply with quote

Hi !

I need a script who devoice users who have spoken one line only.
Please, help me !!!
I need it badly !!

Thx for your help & your hard works
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Mar 23, 2006 1:53 pm    Post subject: Reply with quote

That makes nosense. if he doesn't type anything, he remains voiced else he gets devoiced. Do you mean you want to devoice idle voices?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Ra0uL
Voice


Joined: 23 Mar 2006
Posts: 3

PostPosted: Thu Mar 23, 2006 3:17 pm    Post subject: Reply with quote

No No, it s not for idle users...

It s for a +m chan.
Only few users must be voiced at the same time.
& after they have send 1 line (a question for example), they re devoiced.
I want the peoples can send only one question & wait for answer before asking another one.
I hope this explaination is better. Smile

Thx
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Mar 23, 2006 5:12 pm    Post subject: Reply with quote

Code:
bind pubm - "#channel *" devoice

proc devoice {nick uhost hand chan arg} {
 if {[isvoice $nick $chan]} {
  pushmode $chan -v $nick
 }
}

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Mar 23, 2006 9:07 pm    Post subject: Reply with quote

Ra0uL wrote:
No No, it s not for idle users...

It s for a +m chan.
Only few users must be voiced at the same time.
& after they have send 1 line (a question for example), they re devoiced.
I want the peoples can send only one question & wait for answer before asking another one.
I hope this explaination is better. Smile

Thx

You are fully aware that any non-voiced users in a +m (moderated) channel cannot sent to channel? So, how does one get to ask just one question in the first place let alone a second?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Ra0uL
Voice


Joined: 23 Mar 2006
Posts: 3

PostPosted: Fri Mar 24, 2006 5:19 am    Post subject: Reply with quote

Many thx Sir_Fz !!!
It s works well

Alchera, the users are authentified via services & can only join this chan if they re registred. And each user must ask only one question...so, easy to manage.

Thx for u re help
Back to top
View user's profile Send private message
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