mIRC Home    About    Download    Register    News    Help

Print Thread
kinda sux #63949 14/12/03 12:26 AM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
uhm this is not maybe a good Q but i really have a problem..

in clean mirc when done /names $chan it shows you some info about given chan...

but i have some script (cant say which 1) itz more unknown anyway... but instead names it displays this:

Info: (Ops: 4) (Voices: 0) (Regular: 0) (Total: 4)

like that...
in aliases only code is:
n names #$$1

in remotes and popus there is NOTHING about /names or .names or just names command...

so i ask you is there in some files (.ini) where it hides this?
coz i searched in mirc options and couldnt find anything related to that, i asked author and didnt got respond coz script is old 2 years or so (no update given) so author prob gave up...

any suggestion would be appreciated

Re: kinda sux #63950 14/12/03 12:30 AM
Joined: Dec 2002
Posts: 349
S
Skip Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 349
look for 'raw 353:*:' and 'raw 366:*:' in remotes.

Re: kinda sux #63951 14/12/03 12:33 AM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
yay ! thanks alot !!!!

Re: kinda sux #63952 14/12/03 12:37 AM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
hmm 1 q tho...

raw 353:*: halt

raw 366:*:{
if (%chaninfo == On) { echo $2 $timestamps $+ $theme(raw366,$nick($2,0,o),$nick($2,0,v),$nick($2,0,r),$nick($2,0,a)) }
echo $2 1,1
halt
}

:raw366 | return 10 10 0Info15: 10(15Ops:0 $2 $+ 10) (15Voices:0 $3 $+ 10) (15Regular:0 $4 $+ 10) (15Total:0 $5 $+ 10)15.

it shows this

and it returns only this:

Info: (Ops: 4) (Voices: 0) (Regular: 0) (Total: 0)

how to implent halfop and uop in this ?

Last edited by bunar; 14/12/03 12:39 AM.
Re: kinda sux #63953 14/12/03 12:48 AM
Joined: Dec 2002
Posts: 349
S
Skip Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 349
$theme(raw366,$nick($2,0,o),$nick($2,0,v),$nick($2,0,r),$nick($2,0,a))

is passed to the 'theme' alias, if you changed this to

$theme(raw366,$nick($2,0,o),$nick($2,0,h),$nick($2,0,v),$nick($2,0,u),$nick($2,0,r),$nick($2,0,a))

(i've made the assumption that a uop is set by the +u mode, and is the least significant prefix)

you would then have to change the 'raw366' section in the theme alias that you pasted so it would echo the extra paramaters (ops is $2, halfops is $3, voiced is $4, uop is $5, regular is $6, total is $7)

Hope that helps smile

Re: kinda sux #63954 14/12/03 12:59 AM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
counter works great
thanx

Last edited by bunar; 14/12/03 01:00 AM.