Jump to content
  • 0

Is it possible to change player's user group via script command?


Meister

Question


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Hi,

 

Like for example.. An account uses item A wherein item A changes a group of a normal player for a week or two.

 

How to do it in script? Is it like the example below?

 

snippet:
//item 
ITEM,blah blah blah, { set #testing,1week },{},{}
 
if (#testing ==0)end;
set groupid,2;

 

Regards!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

You can try to create an item in your item database with an OnEquip/OnUnequip script and use 

atcommand "@adjgroup <group id>";

then use rentitem to limit the duration of the item.

 

Also try looking at the VIP system.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

You can try to create an item in your item database with an OnEquip/OnUnequip script and use 

atcommand "@adjgroup <group id>";

then use rentitem to limit the duration of the item.

 

Also try looking at the VIP system.

 

I don't want to use VIP system cause it cracks the character and I hate seeing such thing haha! I also found out recently atcommand in scripts_command thanks mate!

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...