| View previous topic :: View next topic |
| Author |
Message |
neoclust Halfop
Joined: 14 Aug 2009 Posts: 55
|
Posted: Thu Aug 19, 2010 4:42 pm Post subject: Voice/devoice again |
|
|
Hello I apologize for having published another post on the same subject, I tried voice and devoice at the same time but I realized that this does not work finally to see this code :
| Code: |
utimer 10 [list cancel_mode $nick $chan $host]
proc cancel_mode {nick chan host} {
putfast "MODE $chan +v $nick"
if {![string match *.users.undernet.org $host]} {
putfast "MODE $chan -v $nick"
} |
the bot in this case voice while stopping there, I thought of another way to fit that idea but in vain, you can help me with that because it is me who jammed the pushmode remains unable to apply + v-v at the same time thanks. |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Mon Aug 23, 2010 3:39 pm Post subject: |
|
|
I don't really understand your trouble. Why don't voice the user only if his host matches the "authorized" host ?
And using pushmode and flushmode seems better than putfast _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
| Back to top |
|
 |
|