Jump to content
  • 0

An item that will allow players to use @storage and @go command


Meister

Question


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

Just like premium, an item that will allow player to use @go and @storage command..

 

The item has

  1. has time just like premium ticket
  2. if player uses this he will use a variable like for example #gscom

I'm currently using the premium script provided here in rAthena that uses #Premium and also changes its group level to 1..

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

-	script	atcmd_example	-1,{
OnInit:
	bindatcmd "storage",strnpcinfo(3)+"::OnAtcommand";
	bindatcmd "go",strnpcinfo(3)+"::OnAtcommandGO";
	.item_req = 501;	// you item id
	end;
OnAtcommand:
	if ( countitem( .item_req ) ) openstorage;	// open storage if have the item
	end;
OnAtcommandGO:
	if ( !countitem( .item_req ) ) end;	// @go if have the item
	for( ; .@i < .@atcmd_numparameters; .@i++ )
		.@mes$ = .@mes$ + ( .@mes$ == "" ? "" : " " ) + .@atcmd_parameters$[.@i];
	atcommand "@go "+ .@mes$;
}

 

has time just like premium ticket

Use rentitem

 

 

if player uses this he will use a variable like for example #gscom

I don't get this part

  • Upvote 1
Link to comment
Share on other sites


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

bump bumpy

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