01-06-2012, 06:58 PM
why not add a reborn npc that sells a reborn ticket

Then just use this to find the item:
$userid = $User->ID;
$end = substr("$userid", -1);
$table="t_inven0".$end;
$sql = "SELECT * FROM ".$table." WHERE
a_item_idx0 = your ticket index OR
a_item_idx1 = your ticket index OR
a_item_idx2 = your ticket index OR
a_item_idx3 = your ticket index OR
a_item_idx4 = your ticket index
";
That code could be wrong or there will be a better way to do the $sql im not pro php scripter


