SorryV2 Posted June 28, 2020 Posted June 28, 2020 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. Quote
0 Jayz Posted June 28, 2020 Posted June 28, 2020 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? Quote
0 SorryV2 Posted June 28, 2020 Author Posted June 28, 2020 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. Quote
0 LearningRO Posted June 28, 2020 Posted June 28, 2020 maybe you can modif the command @autoloot to read item on inventory use bindatcomand Quote
0 Ronald Posted June 29, 2020 Posted June 29, 2020 You can revise the VIP System NPC and then create a new group. Quote
0 SorryV2 Posted June 30, 2020 Author Posted June 30, 2020 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? Quote
0 SorryV2 Posted June 30, 2020 Author Posted June 30, 2020 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. Quote
0 Jayz Posted June 30, 2020 Posted June 30, 2020 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"; },{} Quote
0 SorryV2 Posted June 30, 2020 Author Posted June 30, 2020 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. Quote
0 Patskie Posted July 1, 2020 Posted July 1, 2020 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. Quote
0 SorryV2 Posted July 1, 2020 Author Posted July 1, 2020 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 Quote
Question
SorryV2
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.
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.