ok i know how to create a menu so that u can detect a channels modes and toggle them on and off but im an oper on a server that uses the snomask protocal ..... how would u go about detecting them so that u can make a toggle on and off menu?
this is what i would use for a toggle on and off menu for chan modes:
.$iif(t isincs $gettok($chan(#).mode,1,32),+,-) Only Ops Set Topics: if (t isincs $gettok($chan(#).mode,1,32)) mode # -t | else mode # +t
now what modifications to that code would i need to make to actually detect a snomask mode? and is there anything?