mIRC Home    About    Download    Register    News    Help

Print Thread
#1620 14/12/02 09:14 AM
Joined: Dec 2002
Posts: 51
D
Dingo Offline OP
Babel fish
OP Offline
Babel fish
D
Joined: Dec 2002
Posts: 51
somethign easy for you all - i'm a bit tired, can't think right- but i know you are awake

i need to put the nick of the person who oped someone else into an echo - here's the script...

on *:OP:#:{
if ($opnick == $me) {
cline 9 # $opnick
echo -a * $timestamp You got op in $chan by "WHO?"
}
}

coudl you please help me put the nick of the person who oped theo ther nick?

thanks:)

#1621 14/12/02 09:24 AM
Joined: Dec 2002
Posts: 212
V
Fjord artisan
Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
Code:
on *:OP:#:{
if ($opnick == $me) {
cline 9 # $opnick
echo -at * You got op in $chan by $nick
}
}  


And all I need now is intellectual intercourse, a soul to dig the hole much deeper
#1622 14/12/02 09:28 AM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
on *:OP:#:{
if ($opnick == $me) {
cline 9 # $opnick
echo -a * $timestamp You got op in $chan by $nick
}
}


cline 9 # $opnick
is pretty much useless as you can set diffrent colors for yourself & for others easily in address book(alt+b) nicktab


Code:
//if ( khaled isgod ) echo yes | else echo no
#1623 14/12/02 12:06 PM
Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
I don't think that was the issue here ...

They wanted to colour the nickname of the person who opped them ... not to colour the nicknames of all the ops in the channel.

Dana


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
#1624 14/12/02 12:21 PM
Joined: Dec 2002
Posts: 339
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
you first say: i need to put the nick of the person who oped someone else
and in the code you use if ($opnick == $me)
folloing what you asked in the first time i would use this:
Code:
on *:OP:#:{ cline 9 # $opnick | echo -a $timestamp Nick: $opnick got op status on # by $nick $+ . 


now if you want to get an echo only when you get oped you can use ban the
Code:
 if ($opnick == $me)  
if you do so im not really sure if the nick you wanted to cline is your nick or the nick of the person who oped you... if you wanted to cline the person who oped you use $nick in the cline line instead of $opnick


Link Copied to Clipboard