mIRC Home    About    Download    Register    News    Help

Print Thread
#91583 23/07/04 07:24 PM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
i have this for NICK Menu

$iif($me isop # || ($me ishop #), Op Modes, $style(2) Op Modes)
.$iif($me isop #, ( +o ) op, $style(2) ( +o ) op):/op $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31
.$iif($me isop #, ( -o ) deop, $style(2) ( -o ) deop):/deop $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31
.-
.$iif($me !ishop #, ( +h ) halfop, $style(2) ( +h ) halfop):/mode $chan +h $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31
.$iif($me !ishop #, ( -h ) dehalfop, $style(2) ( -h ) dehalfop):/mode $chan -h $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31
.-
.( +v ) voice:/voice $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31
.( -v ) devoice:/devoice $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31
.-
.( +u ) uop:/mode $chan +u $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31
.( -u ) deuop:/mode $chan -u $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31


problem is in HOP mode

when i am op and i give myself +h mode then Halfop option is disabled (naturaly coz hop cant hop) but since i have op status it should be unlocked.
nor can i dehop myself if i am hop

anyone can help a bit ?

Last edited by ShinZon; 23/07/04 07:29 PM.
#91584 23/07/04 07:40 PM
Joined: Feb 2004
Posts: 124
T
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
you have $iif($me !ishop #, for both
change the first one to $iif($me ishop #,

Here's another hint for ya .. instead of using
$1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31

why not use
$1-31

or even $1-

Last edited by TonyTheTiger; 23/07/04 07:42 PM.
#91585 23/07/04 07:45 PM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
"why not use $1-31"

does mirc 6.01-6.03 support this ?

#91586 23/07/04 07:46 PM
Joined: Feb 2004
Posts: 124
T
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
yes

#91587 23/07/04 07:52 PM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
and what does $1- do ?

#91588 23/07/04 07:54 PM
Joined: Feb 2004
Posts: 124
T
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
$1-31 would cover parameters 1 - 31


$1- covers all parameters however many there may be

#91589 23/07/04 07:59 PM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
this is great, never knew bout it lol, thanks much

#91590 23/07/04 08:00 PM
Joined: Feb 2004
Posts: 124
T
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
most welcome smile

#91591 23/07/04 08:06 PM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
1 bug

when i remove !ishop and do ishop
then when i am Oped have disabled Hop option :P

#91592 23/07/04 11:01 PM
Joined: Dec 2002
Posts: 102
M
Vogon poet
Offline
Vogon poet
M
Joined: Dec 2002
Posts: 102
You can use the format: $iif($me ishop # || $me isop #,...)

to allow you to have it work either way.


-
MIMP
#91593 23/07/04 11:16 PM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
awesome !

thanks


Link Copied to Clipboard