Anope IRC Services

Anope Development => Modules => Topic started by: ysfm on December 01, 2009, 07:18:29 PM

Title: ns_totaltime
Post by: ysfm on December 01, 2009, 07:18:29 PM
 This module record user total online time

 When you set on checkreg If user's total time less to regtime, user cant register channel.
 and If you want to check total ontime on add access, set accesscheck on. This option not recommended.
 Because this option required to edit on core code in cs_access


Some code taken from ns_ajoin by Viper

Pls edit checkreg and regtime

Quote
[Notice] -NickServ- ysfm is ysfm
 [Notice] -NickServ- ysfm is a services root administrator.
 [Notice] -NickServ- ysfm is currently online.
 [Notice] -NickServ-   Time registered: Nov 14 01:02:05 2009 EET
 [Notice] -NickServ- Last quit message: http://www.localhost.net
 [Notice] -NickServ- For more verbose information, type /msg NickServ INFO ysfm ALL.
 [Notice] -NickServ-       Total Online Time: 0 days 0 hours 2 secs ve 46 mins.


 
Quote
/msg chanserv register #xxx passw ........
 [Notice] -ChanServ- Channel didnt registered. Because you dont have enough total online time
Title: Re: ns_totaltime
Post by: VitaoDoidao @ Priv8 on August 14, 2013, 05:56:08 AM
Hello,

Firstly, congratulations and many thanks to ysfm for great module.
I can see this module make a new .db file everytime the services restart.
That's possible to make to the module read the existent .db and don't creat a new one?
I want to prevent the module to create a new .db file everytime the services restart. :)

Thank you very much