TCLDROP
Would you like to react to this message? Create an account in a few clicks or log in to continue.
TCLDROP

Eggdrop And TCL Help, Support And Chat
 
HomeHome  PublicationsPublications  FAQFAQ  SearchSearch  MemberlistMemberlist  Latest imagesLatest images  UsergroupsUsergroups  RegisterRegister  Log in  CalendarCalendar  WebsiteWebsite  ChatRoomChatRoom  

 

 Simple Timer Topic Txt file script

Go down 
AuthorMessage
ComputerTech
Owner
Owner
ComputerTech


Posts : 99
Points : 268
Reputation : 0
Join date : 2020-04-30

Simple Timer Topic Txt file script Empty
PostSubject: Simple Timer Topic Txt file script   Simple Timer Topic Txt file script Empty21/5/2020, 23:51

Hello all this is a simple Timer Topic Txt file Script Enjoy

Code:
bind time - "00 *" foo
if {![catch {set f [open topic.txt]}]} {
  set t [split [read $f] \n:]; close $f
} {set t {}}
proc foo {m h args} {
  foreach {c n s} $::t {
      if {[clock scan $h]==[clock scan $n]} {
        if {[botisop $c]} {putserv "topic $c :$s"}
      }
  }
}
bind time - "00 *" foo
if {![catch {set f [open topic.txt]}]} {
  set t [split [read $f] \n:]; close $f
} {set t {}}
proc foo {m h args} {
  foreach {c n s} $::t {
      if {[clock scan $h]==[clock scan $n]} {
        if {[botisop $c]} {putserv "topic $c :$s"}
      }
  }
}
Back to top Go down
http://www.computer-tech1.webnode.co.uk
 
Simple Timer Topic Txt file script
Back to top 
Page 1 of 1
 Similar topics
-
» Simple read from file script
» Timer Script
» Caesars timer +R -R
» cycle all channel script
» say script

Permissions in this forum:You cannot reply to topics in this forum
TCLDROP :: Other :: Code-
Jump to: