Jump to content
  • 0
Sign in to follow this  
SorryV2

HELP! RENT ITEM THAT CHANGES GROUP ID THEN TURNS BACK TO PREVIOUS GROUP ID WHEN EXPIRES

Question

Can someone help me with an item script that changes the group id then turns back to previous id when expired?

So I have this certain item for example a certificate that can use @autoloot (modified groupid) when used then goes back to (groupid 0)

when it expired.
 

This is my item script. LoL IDK if I'm doing it right.
"{if (groupid==0) changegroupid (groupid==7);rentitem 32004,2592000},{},{}"

 

A help will be so much appreciated. Thank you in advance.

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0
7 minutes ago, SorryV2 said:

Can someone help me with an item script that changes the group id then turns back to previous id when expired?

So I have this certain item for example a certificate that can use @autoloot (modified groupid) when used then goes back to (groupid 0)

when it expired.
 

This is my item script. LoL IDK if I'm doing it right.
"{if (groupid==0) changegroupid (groupid==7);rentitem 32004,2592000},{},{}"

 

A help will be so much appreciated. Thank you in advance.

 

Why dont use VIP System?

Share this post


Link to post
Share on other sites
  • 0
4 minutes ago, Zack- said:

 

Why dont use VIP System?

I had enabled VIP system but
Its a separate function from what I'm doing.

It's like a different system from VIP to F2P. you get what I mean? xD Sorry though I can't elaborate.

Share this post


Link to post
Share on other sites
  • 0

maybe you can modif the command @autoloot to read item on inventory

use bindatcomand

Share this post


Link to post
Share on other sites
  • 0

You can revise the VIP System NPC and then create a new group.

Share this post


Link to post
Share on other sites
  • 0
On 6/29/2020 at 7:50 AM, LearningRO said:

maybe you can modif the command @autoloot to read item on inventory

use bindatcomand

meaning on the item script i will bind at the atcommand?

Share this post


Link to post
Share on other sites
  • 0
On 6/29/2020 at 10:27 AM, Ronald said:

You can revise the VIP System NPC and then create a new group.

i dont have a VIP npc but will do search it and revise. thanks for the information.

 

Share this post


Link to post
Share on other sites
  • 0
26 minutes ago, SorryV2 said:

i dont have a VIP npc but will do search it and revise. thanks for the information.

 

You can use equipable item to implimented that, like

2607,Clip,Clip,,,,,{ atcommand "@adjgroup 1";  },{ atcommand "@adjgroup 0"; },{} 

 

Share this post


Link to post
Share on other sites
  • 0
32 minutes ago, Zack- said:

You can use equipable item to implimented that, like

2607,Clip,Clip,,,,,{ atcommand "@adjgroup 1";  },{ atcommand "@adjgroup 0"; },{} 

 

oohh isee. i found an idea. but what if the user is a vip? i would actually like to separate the vip player from regular player.

Share this post


Link to post
Share on other sites
  • 0
13 hours ago, SorryV2 said:

oohh isee. i found an idea. but what if the user is a vip? i would actually like to separate the vip player from regular player.

Then you have to check first if the person who will wear the item is a VIP or not before adjusting their group

 

*vip_status(<type>,{"<character name>"})

Returns various information about a player's VIP status.

Valid types:
 VIP_STATUS_ACTIVE - VIP status: true if the player is a VIP or false if not
 VIP_STATUS_EXPIRE - VIP expire timestamp if the player is VIP or 0 if not
 VIP_STATUS_REMAINING - VIP time remaining in seconds

NOTE: This command is only available if the VIP System is enabled.

 

Share this post


Link to post
Share on other sites
  • 0
10 hours ago, Patskie said:

Then you have to check first if the person who will wear the item is a VIP or not before adjusting their group

 

*vip_status(<type>,{"<character name>"})

Returns various information about a player's VIP status.

Valid types:
 VIP_STATUS_ACTIVE - VIP status: true if the player is a VIP or false if not
 VIP_STATUS_EXPIRE - VIP expire timestamp if the player is VIP or 0 if not
 VIP_STATUS_REMAINING - VIP time remaining in seconds

NOTE: This command is only available if the VIP System is enabled.

 

wow thank you so much 😮

 

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.