local t = string.explode(param, " ", 1)
if #t > 1 then
return true
end
One more thing
I have a talkaction that adds custom words to the name of the item. How to do that one item can be edited only one time? I'm trying with 'string.explode' to find '(' in the name of the item but doesnt work :/(the custom words are in the (barckets))
if(item.actionid ~= 1337) then
doItemSetAttribute(item.uid, "name", "Modified ".. getItemNameById(item.itemid))
doItemSetAttribute(item.uid, "actionid", 1337)
else
doPlayerSendCancel(cid, "This item has been already edited.")
end