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.

I need

Old posts that have not been replied to for several years.
Locked
U
USG|Shinji

I need

Post by USG|Shinji »

Hi,

I need a script that make all 5 min the partyline-command .chanload

Can somone pls make me one?
U
USG|Shinji

Post by USG|Shinji »

can nobody help me?

I really need it!
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Code: Select all

proc fmreload {min args} {
  if {[string index $min 0] == 0} {set min [string index $min 1]}
  if {[expr $min % 5]} { return }
  loadchannels
}
bind time - "*" fmreload
However, I would like to know why you need to reload the channel file all the time.
U
USG|Shinji

Post by USG|Shinji »

Because i have an ^Logbot^ and now you become your stats automatic per web ;D
U
USG|Shinji

Post by USG|Shinji »

damn -.-
it doesnt work

it does nothing...

(sorry for my bad english)
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

USG|Shinji wrote:damn -.-
it doesnt work

it does nothing...

(sorry for my bad english)
What makes you think it doesn't work?

Note that the tcl script does not echo any text back, such as "Reloading all dynamic channel settings." It does its work silently :)
U
USG|Shinji

Post by USG|Shinji »

oh sorry :oops:
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Just to make sure... place the following line just above the line "loadchannels":

Code: Select all

putlog "Reloading all dynamic channel settings."
Locked