Jump to content
  • 0

Rent item to change group id until it expires


SorryV2

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  05/26/20
  • Last Seen:  

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.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  395
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  05/26/20
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

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

use bindatcomand

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  05/26/20
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  05/26/20
  • Last Seen:  

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.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  395
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

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"; },{} 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  05/26/20
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  05/26/20
  • Last Seen:  

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 ?

 

Link to comment
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.

×
×
  • Create New...