!warn nickname time
time = can be hours/days/weeks/months etc
The script is almost finished i just dont know a way to script the part when that warning expires. I cant use timer because i want the bot to know where it remained after restart (and i dont think i can do that with timer) and i cant use bind time because it wont match the expiration date because i would probably use !warn command a specific second and bind time only acts at 00. So my question is how can i make that expiration date/unixtime match. How to save it and how to check it so i can remove it when it matches.
I have been using [clock scan [unixtime] +2 days] for example ... but if i use bind time after to check if that $var is the same it wont be because bind time is every minute at 00 second.. so it wont match thats my problem
Madalin wrote:
...
so it wont match thats my problem
To discern if it is expired, won't it only be necessary to see if the time is passed?
In other words, why does it have to match? Can't you just test for
greater than
or
less than
depending on how you go about it.
Yeah... greater than should be enough.. my bad then. Was fixed to match that exactly..
I often try to make something in the most complex way possible so that later (weeks/months/years) find different ways to do the same but easier maybe just because TCLScripting is just a hobby