Zrobiłem z tego
function onUse(cid, item, frompos, item2, topos)
if item.uid == 1012 then
---------------------------------------------------------------------------------
----------------the characters that will be used in the generator----------------
char = {"a", "b", "c", "d", "e"...