Jump to content
  • 0

Bindatcommand


rans

Question


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

Hi,

Im having a hard understanding about this command xD

how can i add a value or parameters for this?
 

- script rent -1,{
OnInit:
bindatcmd("rent",strnpcinfo(0)+"::Onrent"{99,99});
Onrent:
rentitem <item_id>,<seconds>;
}

anyone can guide me? or fix the script?
Thnx
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


rentitem atoi( .@atcmd_parameters$[0] ),atoi( .@atcmd_parameters$[1] );

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


bindatcmd( "rent",strnpcinfo(0)+"::Onrent",99,99 );

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

bindatcmd( "rent",strnpcinfo(0)+"::Onrent",99,99 );

HI,

Thnx for your reply

i mean the parameters

 

Onrent:
rentitem <item_id>,<seconds>;

or what is the correct code of rentitem Command?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

rentitem 5022,3600;

Helm of Sun God for 1 Hours.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

rentitem 5022,3600;

Helm of Sun God for 1 Hours.

 

uhm 

you dont get my point xD

i want to bind a command like this

@/#rentitem <itemid>,<sec>

ex.

@rentitem 2628,3600

#rentitem ranz 2628,3600

is there a way to implement this with bindatcmnd only?

Edited by Ako si Ranz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

rentitem atoi( .@atcmd_parameters$[0] ),atoi( .@atcmd_parameters$[1] );

Thanks.

can i see whole script?

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