The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with diconnect timer
Author Message
Shidhun
Journeyman
*

Posts: 59
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Jul 2012
Reputation: 1



Post: #5
RE: Problem with diconnect timer
I'd suggest a passive Check, if they are only idling.

Set a Timestamp on every trigger that you like :

Code:
//Speechfile
on=*
IF (<ACCOUNT.PLEVEL>==1)&&((<ARGN1>==0)||(<ARGN1>==2)||(<ARGN1>==8))
TAG.LastAction=<SERV.TIME>

// Triggers
on=@whatever
TAG.LastAction=<SERV.TIME>

Then, simply check, if the Tag was set within a defined amount of time :

IF (<EVAL <TAG0.LastAction>+6000> > <SERV.TIME>)//Char has done anything in the last 10 Minutes
    //Add your function for gaining a "vet"-point
ENDIF
02-12-2014 07:58 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with diconnect timer - dabritmusic - 02-12-2014, 08:24 AM
RE: Problem with diconnect timer - Alaric - 02-12-2014, 09:02 AM
RE: Problem with diconnect timer - Shidhun - 02-12-2014 07:58 PM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)