Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on :connect: checkpacktime
- alias ifdate { if ($1 == $date) { timer $+ $ctime off | $2- } }
- alias checkpacktime {
- noop $regex($readini(Packs.ini,%steam,EndTime),/(\d{2}[/].+?)(\d{2}[:].+)/i)
- var %x = 1
- while ($ini(Packs.ini,%x)) {
- var %steam = $ini(Packs.ini,%x)
- $+(timer,%steam) $regml(2) 1 1 $ifdate($regml(1),remini -n Packs.ini %steam)
- inc %x
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement