mIRC Home    About    Download    Register    News    Help

Print Thread
#32968 29/06/03 05:50 PM
B
brad2
brad2
B
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

#32969 29/06/03 06:58 PM
P
pheonix
pheonix
P
its not that at all smile
on ^*:TEXT:*:#:{
//echo -a yourstyle $+ $nick $+ yourstyle $+ : $1-
haltdef
}

#32970 29/06/03 08:52 PM
B
brad2
brad2
B
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

#32971 29/06/03 08:55 PM
P
pheonix
pheonix
P
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.
#32972 29/06/03 08:56 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
Try this:
Code:
on ^*:TEXT:*:#:{
  echo -m # « $nick(#,$nick).pnick » $1-
  haltdef
}

#32973 29/06/03 08:58 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
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.

#32974 29/06/03 08:59 PM
P
pheonix
pheonix
P
i think the problem was because of :*:#:{
also it does work, for me anyway......

Last edited by pheonix; 29/06/03 09:00 PM.
#32975 29/06/03 09:01 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
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.

#32976 29/06/03 09:02 PM
B
brad2
brad2
B
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) ???????

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

#32978 29/06/03 09:06 PM
B
brad2
brad2
B
BTW this is what i am using

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



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

#32980 29/06/03 09:16 PM
B
brad2
brad2
B
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.

#32981 30/06/03 12:00 AM
Joined: Feb 2003
Posts: 2,737
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,737
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!
#32982 30/06/03 01:57 AM
B
brad2
brad2
B
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.

#32983 30/06/03 02:06 AM
Joined: Feb 2003
Posts: 2,737
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,737
$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!
#32984 30/06/03 11:35 PM
N
NiGHtOwL
NiGHtOwL
N
Thank you. This was very useful for me as well. Now I got the nick in the desired design I wanted smile

#32985 04/07/03 09:27 PM
Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
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.


Link Copied to Clipboard