Archive > 0.2.x Custom/Unofficial Modules

Custom Timers

<< < (2/8) > >>

Xenixa:
The Default for PHP.exe CLI is to show all warnings. Since most Windows users use the very minimal php.ini that comes with the Bot, it's best just to clean the code up so the Warnings don't happen... least the log fills up with a Warning for each time the cron job runs.

I had already placed those if() statements in the copy I'm running btw just so php wasn't spamming the hell out of the php window on my server.
Just wanted you to know it was broken if used as is. The same warnings would appear on Linux/Unix machines also, but I think most users of Linux use a global php.ini that has Warnings like that turned off.

Wanuarmi:
updated, fixed xenixa's bug and did some minor tweakings so the code looks better

Wanuarmi:
updated, added command !timer <ID> that will show how much time until expiration

jokerjr:
I use this module a lot thanks I love it.

Wanuarmi:
thanks man, I appreciate it :)

updated, fixed a bug with dates, using gmdate() now instead of date()

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version