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 

help sysinfo tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
tagoy
Voice


Joined: 05 Jul 2012
Posts: 8
Location: Philippines

PostPosted: Mon Aug 06, 2012 5:13 pm    Post subject: help sysinfo tcl Reply with quote

http://pastebin.com/6GnURZWW

Help me guys please, i want to spit the uptime every 1hour via public message on the channel. thank you.
_________________
wew
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Mon Aug 06, 2012 11:36 pm    Post subject: lets try this Reply with quote

Let's try this. Search for this line in the script....
Code:
putlog "sysinfo.tcl - Loaded."

And add these lines just before that line...
Code:
bind time - "00 * * * *" ::sysinfo::Timed

proc ::sysinfo::Timed {mn hr da mo yr} {
 global botnick
 foreach chan [channels] {
  if {[botonchan $chan]} {  PUB $botnick - - $chan ""  }
 }
}

_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.


Last edited by SpiKe^^ on Mon Aug 06, 2012 11:44 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
tagoy
Voice


Joined: 05 Jul 2012
Posts: 8
Location: Philippines

PostPosted: Mon Aug 06, 2012 11:40 pm    Post subject: Reply with quote

thank you for the help and quick reply, ill try it now. thank you spike^^.
_________________
wew
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases 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