mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2006
Posts: 95
B
blk Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Feb 2006
Posts: 95
I want to msg this to all chans that I'm in...
Code:
on *:text:!nick *:*:{
  if ($nick == BL4CK) {
    /nick $2
  }
  /msg $chan My Nick Is Now $2 !
}
}

(In the code its just set for the room i send the command in, Works perfectly)
but it doesn't look right also...


-blk-
Joined: Nov 2005
Posts: 105
D
Vogon poet
Offline
Vogon poet
D
Joined: Nov 2005
Posts: 105
Code:
on *:TEXT:!nick *:#:{ if ($nick == BL4CK) { nick $2 | msg $chan My Nick is Now $2 $+ ! }
}

Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
Change msg $chan to just amsg, though I don't see the point in this as it already shows that you changed nicks to people in those channels.

Joined: Apr 2005
Posts: 64
V
Babel fish
Offline
Babel fish
V
Joined: Apr 2005
Posts: 64
Quote:
on *:text:!nick *:*:{
if ($nick == BL4CK) {
nick $2
}
amsg My Nick Is Now $2 $+ !
}
}


Link Copied to Clipboard