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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Fraud
Op
Posts: 101 Joined: Mon May 19, 2008 7:57 am
Post
by Fraud » Wed May 21, 2008 8:01 am
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
Nimos
Halfop
Posts: 80 Joined: Sun Apr 20, 2008 9:58 am
Post
by Nimos » Sat May 31, 2008 5:13 am
ok I try something
Code: Select all
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.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat May 31, 2008 6:54 am
[mode] is an invalid Eggdrop Tcl command, use [pushmode] instead.
Nimos
Halfop
Posts: 80 Joined: Sun Apr 20, 2008 9:58 am
Post
by Nimos » Sat May 31, 2008 7:00 am
I meant "puthelp mode..." but I edited to pushmode now