Jump to content
  • 0

Convert vip_status(3) into seconds


Question

4 answers to this question

Recommended Posts

  • 0
Posted
On 7/25/2020 at 6:44 PM, Weistony said:

May I know your whole script?

-	script	VIP_STATUSs	-1,{
OnPCLoginEvent:
		if ( vip_status(1) ) {
		set viptime, vip_status(3);
		sc_start SC_EXPBOOST,viptime,0;
			set .@Timer, vip_status(VIP_STATUS_EXPIRE);
			dispbottom "Account Status : VIP Account";
			dispbottom "Expire Date: "+ gettimestr("%m-%d-%Y %H:%M:%S",21,vip_status(VIP_STATUS_EXPIRE));
			dispbottom "Time left : "+ callfunc("Time2Str",.@Timer);

		end;
}

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...