Emistry icon

[RO] @item - Account Bound

Emistry | PRO | 07/26/17 10:56:41 AM UTC | 0 ⭐ | 654 👁️ | Never ⏰ | []
text |

490 B

|

None

|

0 👍

/

0 👎

// https://rathena.org/board/topic/112004-item-created-by-gm-cant-be-tradedropped/
  -	script	sample	-1,{
 	OnInit:
		bindatcmd "item",strnpcinfo(3) + "::OnAtcommand",99,99;
		end;
 	OnAtcommand:
		.@itemid = atoi(.@atcmd_parameters$[0]);
		.@amount = atoi(.@atcmd_parameters$[1]);
		if (.@itemid <= 0 || .@amount <= 0) {
			dispbottom "Failed. Usage "+.@atcmd_command$+" <itemid> <amount> <char name>";
		}
		else {
			getitembound .@itemid, .@amount, Bound_Account;
		}
		end;
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎