// 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
0 B
|👍
/👎