Random event

Random events in  RuneScape are described by  Jagex as being "the occasional strange event happening near you". Random Events are the successors to the  fatigue feature from  RuneScape Classic; a system designed to hinder players using  macros and bots.

Random events occurre with a certain degree of regularity, but if you consistently complete events successfully, you encountere them less frequently.

Players gaining experience have a higher chance of getting a Random Event. In fact it was shown that Random Events are entirely predictable, and will occur after a certain amount of experience (the amount of XP depends on the total XP of players, as some suggested) is gained within a certain period of time.  However, it is possible that there are other triggers that cause Random Events to occur (such as staying logged in for an extended period of time).