$gettok($chan($2).mode,1,32) - 17/01/06 10:44 PM
I trying to solve this:
As you see i have marked it with working and dont working, the modes is grabbed the same way, the only diffrent is that "s" is a old flag (secret) and c (No Colors), this flags is used on quakenet. somone that can help me solve this problem? :tongue: if you dont know what i mean, plz try the code ?
As u see it's the popups i working on.the firrst "c" look as it should, then the big C missing the - signt.. +r looks ok, and i dont know how to solve it.. i hope someone can help me solve this? been trying a while now, and the same result all the time
Code:
; Alias _cmode { set %_mchar if ($1 isincs $gettok($chan($2).mode,1,32)) { %_mchar = 1 } return $iif(%_mchar,-,+) $+ $1 } _mcode { if ($1 isincs $gettok($chan($2).mode,1,32)) { set %tmpmd $+ $1 $chr(45) | return 1 } else set %tmpmd $+ $1 $chr(43) } ; Remote menu channel { modes ; [color:red]working[/color] .$iif($_mcode(s,$chan),$style(1)) Secret $chr(91) %tmpmds $+ s $chr(93) :mode $chan $_cmode(s,$chan) ; [color:red]not working[/color] .$iif($_mcode(C,$chan),$style(1)) No CTCP's $chr(91) %tmpmdw $+C $chr(93) :mode $chan $_cmode(C,$chan) }
As you see i have marked it with working and dont working, the modes is grabbed the same way, the only diffrent is that "s" is a old flag (secret) and c (No Colors), this flags is used on quakenet. somone that can help me solve this problem? :tongue: if you dont know what i mean, plz try the code ?
As u see it's the popups i working on.the firrst "c" look as it should, then the big C missing the - signt.. +r looks ok, and i dont know how to solve it.. i hope someone can help me solve this? been trying a while now, and the same result all the time