mIRC Home    About    Download    Register    News    Help

Print Thread
nick colors/display. #32968 29/06/03 05:50 PM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
I have seen on a few scripts where they have changed the standard <nick> format of this.
Ex.
<brad> hello

to something like this (and with colors)

brad hello

where is the setting. I have looked all through the options and in the settings files and cant find it...

thanks

Re: nick colors/display. #32969 29/06/03 06:58 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
its not that at all smile
on ^*:TEXT:*:#:{
//echo -a yourstyle $+ $nick $+ yourstyle $+ : $1-
haltdef
}


new username: tidy_trax
Re: nick colors/display. #32970 29/06/03 08:52 PM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
well, i used that and it worked sort of like what i was talking about...

except i was in 3 channels (all on different servers too) and it took messages from all of them and put them into whichever one i was currently in.

Also, that wouldn't put a @ or + next to people's nicks...

I am pretty illiterate at this scripting stuff...any help is appreciated

Re: nick colors/display. #32971 29/06/03 08:55 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i'll do it for ya,

on ^*:TEXT:#:{
//echo -a yourstyle $+ $nick $+ yourstyle $+ : $1-
haltdef
}
that should work.

Last edited by pheonix; 29/06/03 08:55 PM.

new username: tidy_trax
Re: nick colors/display. #32972 29/06/03 08:56 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Try this:
Code:
on ^*:TEXT:*:#:{
  echo -m #  $nick(#,$nick).pnick  $1-
  haltdef
}

Re: nick colors/display. #32973 29/06/03 08:58 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
That's wrong..the on EVENT is wrong (it won't even trigger) and even if it did it still wouldn't give the @ or + next to people's nicks, and it would still display all channel messages in the active window, rather than the correct channel window.

Re: nick colors/display. #32974 29/06/03 08:59 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i think the problem was because of :*:#:{
also it does work, for me anyway......

Last edited by pheonix; 29/06/03 09:00 PM.

new username: tidy_trax
Re: nick colors/display. #32975 29/06/03 09:01 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
No, you had the right on TEXT syntax in the first place, the reason all messages were sent to the active window with your first script was because you used the -a switch. You need a matchtext field for it to work at all, and it will still do it wrong even with it.

Re: nick colors/display. #32976 29/06/03 09:02 PM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
well, i played with that some and got it to work right....but..

it still doesnt put the status signs next to a nick ( @, + )

Also, how can I make the taskbar blink on a message (which is now an echo) ???????

Re: nick colors/display. #32977 29/06/03 09:05 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Are you using my script or phoenix's? Mine should put status signs in..

Re: nick colors/display. #32978 29/06/03 09:06 PM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
BTW this is what i am using

Code:
  
on ^*:TEXT:*:#:{
  //echo $chan 7[15 $+ $time(hh:nn) $+ 7] 715 $+ $nick $+ 7  $1-
  haltdef
} 



Last edited by brad2; 29/06/03 09:11 PM.
Re: nick colors/display. #32979 29/06/03 09:08 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Try:
Code:
on ^*:TEXT:*:#:{
  echo -tm # 715 $+ $nick(#,$nick).pnick $+ 7  $1-
  haltdef
}

Re: nick colors/display. #32980 29/06/03 09:16 PM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
Collective, that works great!!

Thanks

The only thing I am wanting it to do now is make the taskbar flash when a message is recieved.

Re: nick colors/display. #32981 30/06/03 12:00 AM
Joined: Feb 2003
Posts: 2,681
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,681
The /echo flags you want to use, are these.

/echo $colour(Normal) -ti2lbfrm $chan < $+ $nick($chan,$nick).pnick $+ > $1-

You can also change the '2' into a '10' for a nicer indent that excludes the timestamp.

These switches enable all of the standard options that are built into mIRC, so if you add Hilight words or Strip settings, or Beep and Flash settings... they will work correctly. The above /echo perfectly emulates mIRC's display of channel text. (with exception to Nick Coloring (/cnick)

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: nick colors/display. #32982 30/06/03 01:57 AM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
Thanks I have it working right now.

I have another question now. I am trying to make the Joins message a little different too.

I got it how i want it, except i want to add at the end how many users are in the channel

EX.

* Joins Nickname (address@Address.ext) [12 users]

all i need is the command/identifier that counts how many people are in the channel.

Thanks.

Re: nick colors/display. #32983 30/06/03 02:06 AM
Joined: Feb 2003
Posts: 2,681
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,681
$nick($chan,0) will return the total number of users.

You can also break it down by users of each class (op, voice, etc). Try this one out.
$+(@,$nick($chan,0,o),+,$nick($chan,0,v,o),/,$nick($chan,0))
That'll show something like @4+13/76, which is @(ops) +(voices) /(total)

/help $nick for more info.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: nick colors/display. #32984 30/06/03 11:35 PM
Joined: May 2003
Posts: 40
N
NiGHtOwL Offline
Ameglian cow
Offline
Ameglian cow
N
Joined: May 2003
Posts: 40
Thank you. This was very useful for me as well. Now I got the nick in the desired design I wanted smile


gr33tz
NiGHtOwL
Re: nick colors/display. #32985 04/07/03 09:27 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
you may try looking into mts themes on mircscripts.org. There you can make your own theme, and use any number of previously-made themes.


-KingTomato