Example from a script:
if not self:isWeather('hail') then return false end
I can't find what self: does anywhere. Could someone explain what it does?