mIRC Homepage

kinda sux

Posted By: bunar

kinda sux - 14/12/03 12:26 AM

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
Posted By: Skip

Re: kinda sux - 14/12/03 12:30 AM

look for 'raw 353:*:' and 'raw 366:*:' in remotes.
Posted By: bunar

Re: kinda sux - 14/12/03 12:33 AM

yay ! thanks alot !!!!
Posted By: bunar

Re: kinda sux - 14/12/03 12:37 AM

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 ?
Posted By: Skip

Re: kinda sux - 14/12/03 12:48 AM

$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
Posted By: bunar

Re: kinda sux - 14/12/03 12:59 AM

counter works great
thanx
© 2020 mIRC Discussion Forums