戏码 originally referred to items in a theater program (opera repertoire). In modern colloquial Chinese — especially in Taiwan and internet slang — it means a dramatic act or scene someone is performing to manipulate or gain sympathy, e.g.
苦情戏码 (melodramatic act).