viewing paste Unknown #55564 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
-   script  testdbidquery   -1,{
OnInit:
    bindatcmd "dbid", strnpcinfo(3)+"::OnDBTest",0,90;
    end;
OnDBTest:
    [email protected] = getequipid(8);
    [email protected] = getiteminfo( [email protected], 17 );
    
    [email protected]$  = "SELECT `id`,`char_id`,`nameid`,`refine`,`unique_id`";
    [email protected]$  += " From `inventory` WHERE `nameid` = "+[email protected];
    [email protected] = query_sql([email protected]$, [email protected], [email protected], [email protected], [email protected], [email protected]);
    dispbottom "~ id: "+[email protected];
    dispbottom "~ char name: "+strcharinfo(0);
    dispbottom "~ item name: "+getitemname([email protected]);
    dispbottom "~ refine: +"+[email protected];
    dispbottom "~ unique id: "+[email protected];;
    end;
}
Viewed 1095 times, submitted by mnjfx.