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.

incr

Old posts that have not been replied to for several years.
Locked
N
Nexus6
Op
Posts: 114
Joined: Mon Sep 02, 2002 4:41 am
Location: Tuchola, Poland

incr

Post by Nexus6 »

lo, I wonder when script uses aray and increases it on some events ie on repeating, 1st offence kick, 2nd ban, when user repeats once, bot does incr and if user would repeat once again would be banned. I wonder how much time has to pass to reset the incr, without doing it in tcl, so when would user be able to repeat himself again and get kicked, and on next offence banned. Guess that after banning, bot restarting, something else?
thanks in advance
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

For this, would would likely have to keep soem other form of array, to keep track fo the times the person was last warned.

Once a min, usign a timer or the time bind, you could check to see, when they where last wanred, and unset any related information once time passes.

Other times you can unset the details would be on quit's, part's, possibly netsplits and the information would need updating when they change nicknames.
Locked