Advertisement
Emistry

[RO] @item - Account Bound

Jul 26th, 2017
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. // https://rathena.org/board/topic/112004-item-created-by-gm-cant-be-tradedropped/
  2.  
  3.  
  4. - script sample -1,{
  5.  
  6. OnInit:
  7. bindatcmd "item",strnpcinfo(3) + "::OnAtcommand",99,99;
  8. end;
  9.  
  10. OnAtcommand:
  11. .@itemid = atoi(.@atcmd_parameters$[0]);
  12. .@amount = atoi(.@atcmd_parameters$[1]);
  13. if (.@itemid <= 0 || .@amount <= 0) {
  14. dispbottom "Failed. Usage "+.@atcmd_command$+" <itemid> <amount> <char name>";
  15. }
  16. else {
  17. getitembound .@itemid, .@amount, Bound_Account;
  18. }
  19. end;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement