Sorry, but that script dont make sense. i will try to help you out as soon i got time.
an about the summon monster script i provided test this one
local summon={
{'Dragon'},
{'Demon'},
{'Dragon Lord'},
{'Fury'}
}
function onUse(cid, item, fromPosition, itemEx, toPosition)...