Command - Heroes - Online time

oO~Unknown~Oo

Banned
Banned
Veteran
Dec 4, 2007
1,823
18
145
UK
Im lookin for a command or script or whatever like project69 where it sends you a message every 5 or 10mins or so reminding how long you've been online for.

Any ideas anyone? thanks
 
Last edited by a moderator:

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Re: Command - Heroes

#IF
ONLINELONGMIN = 5 Checks if you have been online for 5 mins, Options: =,<,>,>=
#ACT
sndmsg 6 "You have been online for 5mins :)"


Qmanage maybe ?
 
Upvote 0

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,354
52
305
England
Re: Command - Heroes

I'd do it every 15 minutes, any more could annoy people - I know it would annoy me.
Code:
#IF
MIN 00
#ACT
LINEMSG 0 "You have been online for <$LOGINTIME>."
#IF
MIN 15
#ACT
LINEMSG 0 "You have been online for <$LOGINTIME>."
#IF
MIN 30
#ACT
LINEMSG 0 "You have been online for <$LOGINTIME>."
#IF
MIN 45
#ACT
LINEMSG 0 "You have been online for <$LOGINTIME>."

I'm unsure if <$LOGINTIME> is coded, or if it displays the time medium (min/hour). Play around with it, see what you get.
 
Upvote 0

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,354
52
305
England
Re: Command - Heroes

Up to him really. It's a "feature", but nothing I'd miss if it wasn't there - seeing that I've been on a server for 5 hours straight looks bad anyway.
 
Upvote 0

TribsT

Dedicated Member
Dedicated Member
Feb 7, 2005
33
1
54
Re: Command - Heroes

Set the line notice to 300 seconds (300sec=5min)
In the LineNotice.txt file write 12 text lines (12x5min=60Min)
The last text line could be like this:

- <$USERNAME>, you have been playing for <$LOGINLONG>...
 
Upvote 0

oO~Unknown~Oo

Banned
Banned
Veteran
Dec 4, 2007
1,823
18
145
UK
Re: Command - Heroes

Set the line notice to 300 seconds (300sec=5min)
In the LineNotice.txt file write 12 text lines (12x5min=60Min)
The last text line could be like this:

- <$USERNAME>, you have been playing for <$LOGINLONG>...

Thanks for the reply and help guys but I really like TribsT's method. Thanks again guys.
 
Upvote 0