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 

info for bf

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Darki_one
Voice


Joined: 17 Mar 2005
Posts: 2

PostPosted: Thu Mar 17, 2005 12:20 pm    Post subject: info for bf Reply with quote

hello i search informations for create a backfill system for my bot script

(new)-(section) xxxx
(backfill)-(section) xxxx is 10min 12sec. too old

thx for help
Back to top
View user's profile Send private message
greenbear
Owner


Joined: 24 Sep 2001
Posts: 733
Location: Norway

PostPosted: Thu Mar 17, 2005 1:43 pm    Post subject: Reply with quote

Sounds like you need a prebot.
Back to top
View user's profile Send private message Send e-mail
Darki_one
Voice


Joined: 17 Mar 2005
Posts: 2

PostPosted: Thu Mar 17, 2005 3:13 pm    Post subject: Reply with quote

yes right i have a prebot script also my script have no backfill option and now i search infos how i can add a backfill option to my script
Back to top
View user's profile Send private message
greenbear
Owner


Joined: 24 Sep 2001
Posts: 733
Location: Norway

PostPosted: Thu Mar 17, 2005 3:32 pm    Post subject: Reply with quote

assuming you store the pretime in a unixtime format you can change the relevant part in your script to something like this
Code:

# limit, in seconds
set maxtime 300
if {[expr [unixtime]-$pretime]>=$maxtime} {
  # it's too old, send warning
} {
  # normal pretime msg
}
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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