Advertisement
NatedogServer

stuff

Feb 7th, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.23 KB | None | 0 0
  1. sub RecipeReward {
  2.     my $dbh = plugin::LoadMysql();
  3.     $sth = $dbh->prepare("SELECT `item_id` FROM tradeskill_recipe_entries WHERE `recipe_id` = ? AND `successcount` > 0 LIMIT 1"); $sth->execute($_[0]);
  4.     return $sth->fetchrow_array();
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement