|
Joined: Jan 2005
Posts: 75
Babel fish
|
OP
Babel fish
Joined: Jan 2005
Posts: 75 |
First up i use both IRCD and IRCX servers and i'm trying to sort this nicklist popups thing out, it's hard to explain, ill paste the code, and you should understand .$iif(. isin $prefix,$iif($me !isop $chan && o !isin $usermode,$style(2)) $chr(46) $+ Owner):massmode +q $1-
.$iif(. isin $prefix,$iif($me !isop $chan && o !isin $usermode,$style(2)) $chr(46) $+ Deowner):massmode -q $1-
.-
.$iif($me !isop $chan && o !isin $usermode,$style(2)) $chr(46) $+ Op:massmode +o $1-
.$iif($me !isop $chan && o !isin $usermode,$style(2)) $chr(46) $+ Deop:massmode -o $1-
.-
.$iif(% isin $prefix,$iif($me !isop $chan && o !isin $usermode,$style(2)) $chr(46) $+ HalfOp):massmode +h $1-
.$iif(% isin $prefix,$iif($me !isop $chan && o !isin $usermode,$style(2)) $chr(46) $+ DeHalfOp):massmode -h $1-
.-
.$iif($me !isop $chan && o !isin $usermode,$style(2)) $chr(46) $+ Voice:massmode +v $1-
.$iif($me !isop $chan && o !isin $usermode,$style(2)) $chr(46) $+ Devoice:massmode -v $1- That works, but if i have the mode ~ on the ircd server, i can't +q them from that and it shows up on the ircx server, but i have a . prefix on the other server, and i've tried to add a line in but it doesn't work, also the same with & next to me, i can't seem to work that out so it shows one the ircd, and not the ircx any help would be great
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
What about using the mode prefixes - .$iif(!$nick(#,$me,&~.) && o !isin $usermode,$style(2)) .Owner):massmode +q $1-
.$iif(!$nick(#,$me,&~.) && o !isin $usermode,$style(2)) .Deowner):massmode -q $1- .- .$iif(!$nick(#,$me,&~.@) && o !isin $usermode,$style(2)) .Op:massmode +o $1- .$iif(!$nick(#,$me,&~.@) && o !isin $usermode,$style(2)) .Deop:massmode -o $1- .- .$iif(!$nick(#,$me,&~.@%) && o !isin $usermode,$style(2)) .HalfOp):massmode +h $1- .$iif(!$nick(#,$me,&~.@%) && o !isin $usermode,$style(2)) .DeHalfOp):massmode -h $1- .- .$iif(!$nick(#,$me,&~.@%) && o !isin $usermode,$style(2)) .Voice:massmode +v $1- .$iif(!$nick(#,$me,&~.@%) && o !isin $usermode,$style(2)) .Devoice:massmode -v $1-
|
|
|
|
Joined: Jan 2005
Posts: 75
Babel fish
|
OP
Babel fish
Joined: Jan 2005
Posts: 75 |
hehe thanks. btw Iori for mod!
|
|
|
|
|