for example:
While logged in a timer or similar is running basically counting mins which are written to a file<nick> !login
<bot> Nick you're now logged in
<nick2> !login
<bot> Nick2 you're now logged in
in the file it should say similar to:<nick2> !logout
<bot> Nick2 you're now logged out
Code: Select all
Nick1 has been logged in for 0 hours 10 mins 23 seconds
I'm very uncomfy with timers and ive not worked too often if ever with additions in this manner could someone give me some tips, a starting point or even better point me to one that does the above already ( never know huh ? )
note
The basis of login is NOT based on bots userlist but users on a specific channel - anyone on said channel must be able to login/out
preferbly with a specific flag being able to log users out that failed to log themselves out