Originally Posted By: RoCk
Originally Posted By: Mpot

Is there an identifier that can check the mode on a channel?


Code:

if (c isincs $chan(#chan).mode) { msg $chan Sorry, colors are disabled on $chan $+ . You'll need to find somewhere else to play Uno. }



~ Edit ~

Corrected typo from isncs to isincs


"c" may also be in a channels key, to be safe...
if (c isincs $gettok($chan(#chan).mode,1,32)) {