Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: ns_totaltime  (Read 4870 times)

0 Members and 1 Guest are viewing this topic.

ysfm

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 9
    • irc.org.tr
ns_totaltime
« 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
« Last Edit: December 02, 2009, 11:54:54 AM by ysfm »
Logged

VitaoDoidao @ Priv8

  • Anope User
  • Offline Offline
  • Posts: 3
Re: ns_totaltime
« Reply #1 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
Logged
Pages: [1]   Go Up