mIRC Home    About    Download    Register    News    Help

Print Thread
#108445 19/01/05 04:18 PM
Joined: Jan 2005
Posts: 75
Z
ztnaraM Offline OP
Babel fish
OP Offline
Babel fish
Z
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
Code:
.$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

#108446 20/01/05 07:20 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
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-

#108447 20/01/05 01:23 PM
Joined: Jan 2005
Posts: 75
Z
ztnaraM Offline OP
Babel fish
OP Offline
Babel fish
Z
Joined: Jan 2005
Posts: 75
hehe thanks. btw Iori for mod! smile


Link Copied to Clipboard