| View previous topic :: View next topic |
| Author |
Message |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Wed May 21, 2008 8:01 am Post subject: Uptime Contest Script |
|
|
Hi. I´m looking for a script that sets everybody in my Chan on +v, after starting the script with a trigger like !uptime...
If anybody leaves the Chan and rejoins after the script was startet, he shall not get voice again.
Maybe an output in the chan how many ppl are voice
I just want to make a little uptime contest.
Hopefully somebody can help me.
Thanks a lot
Jonlar |
|
| Back to top |
|
 |
Nimos Halfop
Joined: 20 Apr 2008 Posts: 80
|
Posted: Sat May 31, 2008 5:13 am Post subject: |
|
|
ok I try something
| Code: |
bind pub n !uptime uptime:start
proc uptime:start {nick host hand chan rest} {
set chanmembers [chanlist $chan]
foreach x $chanmembers {pushmode $chan +v $x}
puthelp "PRIVMSG $chan :Uptime contest started! The last one with +v wins! :D"
}
putlog "Uptime Contest loaded"
|
Last edited by Nimos on Sat May 31, 2008 6:59 am; edited 1 time in total |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat May 31, 2008 6:54 am Post subject: |
|
|
[mode] is an invalid Eggdrop Tcl command, use [pushmode] instead. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Nimos Halfop
Joined: 20 Apr 2008 Posts: 80
|
Posted: Sat May 31, 2008 7:00 am Post subject: |
|
|
| I meant "puthelp mode..." but I edited to pushmode now |
|
| Back to top |
|
 |
|