mIRC Home    About    Download    Register    News    Help

Print Thread
#5024 05/01/03 11:41 AM
Joined: Jan 2003
Posts: 18
I
Pikka bird
OP Offline
Pikka bird
I
Joined: Jan 2003
Posts: 18
I'm trying to change the default Nickname Bracket's in mIRC, but its not letting me. Here's the script I am using:

on ^*:TEXT:*:#:{
if ($nick isop $chan) { echo -mti2 $chan 15(@ $+ $nick $+ 15) $1- | halt }
elseif ($nick isvoice $chan) && ($nick !isop $chan) { echo -mti2 $chan 15(+ $+ $nick $+ 15) $1- | halt }
elseif ($nick == $me) { echo -mti2 $chan 15( $+ $me $+ 15) $1- | halt }
else { echo -mti2 $chan 15( $+ $nick $+ 15) $1- | halt }
}
on ^*:TEXT:*:?:{ echo -mti2 $nick 15( $+ $nick $+ 15) $1- | halt }

Here's an example of what happens:

* Friend join #channel.
(Friend) Hey Man
(Friend) Whats up?
<Me> Nothing Much Man, Yourself?
(Friend) Not Alot.

Can you see what I mean? The brackets aren't changing for myself, but they work on everyone else.

To me, it looks fine... dunno what you guys think of it.

Where have I gone wrong?

Also, whats the "thing" for nickchange, like up there its on^*:TEXT blah blah blah, whats the one for nickname changes?

andy

#5025 05/01/03 11:53 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on *:INPUT:#:{
if ( $left($1,1) != /) || ($ctrlenter == $true ) {
echo -a 15( $+ $me $+ 15) $1-
.msg # $1-
haltdef
}
}

on TEXT only fires when someone else talks.

on NICK is used for nickname changes.

#5026 05/01/03 12:05 PM
Joined: Jan 2003
Posts: 18
I
Pikka bird
OP Offline
Pikka bird
I
Joined: Jan 2003
Posts: 18
Any chance of helping me base a Nickname Change line around this aswell, and helping me fix this line up as I am new to this side of scripting? And that Input one works a treat, thanks laugh

on ^*:ACTION:*:*:{ echo -mti2 $chan 14(13 $+ $nick $1- $+ 14) | halt }

andy


Link Copied to Clipboard