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 

Uptime Contest Script

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


Joined: 19 May 2008
Posts: 101

PostPosted: Wed May 21, 2008 8:01 am    Post subject: Uptime Contest Script Reply with quote

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
View user's profile Send private message
Nimos
Halfop


Joined: 20 Apr 2008
Posts: 80

PostPosted: Sat May 31, 2008 5:13 am    Post subject: Reply with quote

ok I try something Very Happy

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat May 31, 2008 6:54 am    Post subject: Reply with quote

[mode] is an invalid Eggdrop Tcl command, use [pushmode] instead.
_________________
Follow me on GitHub

- Opposing

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


Joined: 20 Apr 2008
Posts: 80

PostPosted: Sat May 31, 2008 7:00 am    Post subject: Reply with quote

I meant "puthelp mode..." but I edited to pushmode now
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