thats where signals come in handy rawcheck for if a mode isin rawtext then do a /signal -n mode $1-

on *:signal:mode: { do stuff here }

although you just do a on raw there too smirk