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.

info for bf

Old posts that have not been replied to for several years.
Locked
D
Darki_one
Voice
Posts: 2
Joined: Thu Mar 17, 2005 12:07 pm

info for bf

Post by Darki_one »

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
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

Sounds like you need a prebot.
D
Darki_one
Voice
Posts: 2
Joined: Thu Mar 17, 2005 12:07 pm

Post by Darki_one »

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
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

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

Code: Select all

# limit, in seconds
set maxtime 300
if {[expr [unixtime]-$pretime]>=$maxtime} {
  # it's too old, send warning
} {
  # normal pretime msg
}
Locked