irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookleader_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_booklight_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookfencing_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookheavy_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookleader_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_booklight_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookfencing_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookheavy_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookleader_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_booklight_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookfencing_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookheavy_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookpistols_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookluck_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookstealth_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_booknavigation_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookpistols_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookluck_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookstealth_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_booknavigation_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookpistols_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookluck_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookstealth_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_booknavigation_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookaccurate_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookcannon_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookgrapple_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookdefend_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookaccurate_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookcannon_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookgrapple_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookdefend_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookaccurate_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookcannon_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookgrapple_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookdefend_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookrepairs_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookmoney_1", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookrepairs_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookmoney_2", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookrepairs_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookmoney_3", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookwrestling", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_booklgtweapman", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookmedweapman", 1);}
irand = rand(19);
if (irand == 2) {TakeNItems(ch,"itmname_bookheavweapman", 1);}