function onUse(cid, item, fromPos, itemEx, toPos)
doSendMagicEffect(fromPos, CONST_ME_MAGIC_BLUE)
if (not getGroupInfo(6)) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
else
doPlayerSetGroupId(cid, 6)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_SMALL, "You are now".. getGroupInfo(6).name ..".")
end
return true
end