Afterlife is a triggered ability. “Afterlife N” means “When this permanent is put into a graveyard from the battlefield, create N 1/1 white and black Spirit creature tokens with flying.”
May 3, 2019 · War of the Spark
Riot is a static ability. “Riot” means “You may have this permanent enter the battlefield with an additional +1/+1 counter on it. If you don’t, it gains haste.”
January 25, 2019 · Ravnica Allegiance
Riot is a static ability. "Riot" means "You may have this permanent enter the battlefield with an additional +1/+1 counter on it. If you don't, it gains haste."