You can paste code at
www.pastebin.com or
www.pastey.net for example.
But if the code used to be something like
lua Code:
myframe:SetScript("OnEvent", function()
this:SetAwesomeStuff()
end)
and you only changed the "this" to "self" it wont work, you also need to have it in the function call, like this (added some other stuff that would be relevant as well, such as 'event')
lua Code:
myframe:SetScript("OnEvent", function(self, event)
self:SetAwesomeStuff()
end)
But paste the code or no one can really help you properly.