|
muk
|
muk
|
I know there is a way to do this, because I've seen it before, but I have no idea how to do it.
My goal is to change the default
<nick>
to look like
nick:
or something cooler.
an example of how it would look in the chat
[02:13] mrwiggles: lol [02:13] muk: but its the same as every other lil jon beat [02:13] [w]ami: Yeah [02:13] [w]ami: Lil Jon's beats are gettin' repetitive
and also the timestamp, I forget how to write it out to change it to equal like
Monday, Jan 24 2004 9:00PM
Thanks again
Keigan
|
|
|
|
Joined: Dec 2002
Posts: 332
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 332 |
i'm not aware of a mirc option to change the <nick> to nick: other than using an on text event and then echoing to the chanel as for the timestamp should be something like this [dddd-mmm-dd-hh:nn tt] [Sunday-Jan-25-12:43 am]
|
|
|
|
fxmakers
|
fxmakers
|
something like this?
on ^*:text:*:#:{ /echo $chan $chr(91) $+ $asctime $+ $chr(93) $nick $+ : $1- /haltdef }
same with on notice.
You'll have to script your hightlights since the msg isn't parsed anymore by mIRC.
|
|
|
|
Iori
|
Iori
|
You'll have to script your hightlights since the msg isn't parsed anymore by mIRC That's what the -l switch for echo does. A very simple example which applies highlight/beep|flash/strip/etc ... on ^*:text:*:*:echo -mbflirt $iif(#,#,$nick) $nick $+ : $1- | haltdef
|
|
|
|
fxmakers
|
fxmakers
|
Didn't read the help file, thanks!
|
|
|
|
Iori
|
Iori
|
Didn't read the help file, thanks! Maybe you should  It's a very useful resource.
|
|
|
|
muk
|
muk
|
Where would I put this:
on ^*:text:*:#:{
/echo $chan $chr(91) $+ $asctime $+ $chr(93) $nick $+ : $1-
/haltdef
}
I am 90% sure I've seen it on a script like iRCN or something a few years ago. I thought it would look alot cooler than <nick>. I shuppose if read throug the help it may help me, but I don't understand the coding very well, is there a place that can help learn what each means? Thanks Keigan
|
|
|
|
Knowledge
|
Knowledge
|
As much as I would love to use this information, I have no idea how  I tried putting the line of text in the mirc.ini file at the top, and bottom but that didnt work. (I figured it was worth a try... thats how UT ini files work) Then I also put it under "[events]" where I think it might need to go, but im not sure how to activate it and make it execute. Then I read through the help file (in mIRC Help>Contents) and just got more confused... I just dont understand. Im still not sure if that line would go into a .ini file, or if its a setting that would need to be set in the mIRC options window. Any help is greatly apreciated. I feel im on the right track, then again I might be wwwaaaayyyyyy off. Thanks! -Walter we87@hotmail.com
|
|
|
|
fxmakers
|
fxmakers
|
Put these lines in the "remote" section (alt + R)
|
|
|
|
muk
|
muk
|
Thanks,
I got it working like so at the moment:
Marissa``: hey oni :} oni: hey ;] [x]: FLUKE
But there is still a small problem.
My typing is still <muk>. Is there a way to get rid of that?
Thanks again,
Keigan
|
|
|
|
fxmakers
|
fxmakers
|
Replacing your own text:
on *:input:#:{ /if ($left($1-, 1) != $chr(47)) { .msg $chan $1- /echo -mbflir $chan $chr(91) $+ $asctime $+ $chr(93) $me $+ : $1- /haltdef } }
Replace $asctime with $asctime(dddd $+ $chr(44) mmm dd yyyy hh:nnTT) for a formatted timestamp as yours.
Last edited by fxmakers; 26/01/04 08:59 PM.
|
|
|
|
muk
|
muk
|
Great
Works perfect, but of course I found one or two more things I'd like to change.
My set up looks like this:
Tuesday 12:35 AM de12f: yo Tuesday 12:35 AM de12f: does anyone have room to host the stats page? Tuesday 12:35 AM Kardi: i could if i wanted to
But this stuff looks like this:
Tuesday 12:32 AM * e-god sets mode: -b *!*bizy2703@*.dsl.chcgil.ameritech.net Tuesday 12:33 AM * Joins: fecbsy Tuesday 12:34 AM * Quits: fecbsy (Remote host closed the connection)
How can i get the jons, parts, quits, and actions to bold like the rest.
Thanks again,
Keigan
|
|
|
|
Knowledge
|
Knowledge
|
Well I researched in the help file, and tested and after lots of trial and error.... I got it to work. But just like Muk, I too have some problems still  My commands look like this: on ^*:text:*:*:echo -mbflirt $iif(#,#,$nick) $chr(5467) $+ $nick $+ $chr(5469) $+ $chr(160) $1- | haltdef on *:input:#:/echo -mbflir $chr(5467) $+ $me $+ $chr(93) $+ $chr(160) $1- | haltdef Which does exactly what I wanted, change <nick> to [nick]. But two things I have found wrong. #1 is my text in a PM window is still <nick> and I cant fix that... when I do I get to see my text as [nick] but I cant see the other persons message at all.... And I found when Im in a normal chat window and I type /list it actually says in the room /list instead of giving me a list of channels on that server. So Ive done something wrong... Can anybody see where I went wrong? Thanks In Advance! -Walter we87@hotmail.com(BTW: Getting [nick] was very tricky... if I was trying to do something like A nick A I would have been better  hehe) EDIT: HAHA!!!! My text doesnt even show up in the channel!!!!! I just launched two mIRC windows and the one with the script doesnt even show up... oh no
Last edited by Knowledge; 27/01/04 06:47 AM.
|
|
|
|
DaveC
|
DaveC
|
on *:input:?:if ($left($1,1) != /) { echo -mbflir $chr(91) $+ $me $+ $chr(93) $+ $chr(160) $1- | .msg $active $1- | halt } on *:input:#:if ($left($1,1) != /) { echo -mbflir $chr(91) $+ $me $+ $chr(93) $+ $chr(160) $1- | .msg $chan $1- | halt } on ^*:text:*:*:echo -mbflirt $iif(#,#,$nick) $chr(91) $+ $nick $+ $chr(93) $+ $chr(160) $1- | halt }
? is for message window # is for channels * is all of them you might need to tweak the echo on the message window it lost the timestamp on mine, i didnt look into why, since it was there in the channel window, aslo replaced the $chr(5467) with $chr(91) which is the same thing., your halt(def) stops the input being processed so thats why it wasnt going to channel, I tried using /SAY but even .SAY still echoed the old way it was said, so i used .msg that sends it to nick ($active) or $chan with no local echo..
|
|
|
|
fxmakers
|
fxmakers
|
Hi! You want to replace all the default actions. I recommend you reading some /help about: ON JOIN, ON PART, ON QUIT, ON KICK, ON NICK, ON MODE and /haltdef.
Here's an e.g. for the ON JOIN event:
on ^*:JOIN:#:{ /echo -mbflir $chan $asctime(dddd $+ $chr(44) mmm dd yyyy hh:nnTT) $+ : $nick has joined $chan /haltdef }
Remote is similar for on part/quit/nick/kick etc...
Hope this will help! chris
|
|
|
|
Knowledge
|
Knowledge
|
Thank You DaveC!!!! So far, that seems to work perfectly. Thank you very much for helping me out. As for the timestamp, I dont do that anyway so it all works out for the best  Right now, all I see is Blonde, Brunette, Redhead... But im gonna read up and figure out what all that stuff means hehe Thanks Again -Walter we87@hotmail.com
|
|
|
|
Iori
|
Iori
|
Just a little shorter code and only one input event... :[/b]) on *:input:*:{
if /* !iswm $$1 && (# || $query($target)) {
echo -ati $[,$me,] ) $1-
.msg $ifmatch $1-
haltdef
}
}
on ^*:text:*:*:echo -mbflirt $iif(#,#,$nick) $+([,$nick,] ) $1- | halt }
|
|
|
|
Joined: Feb 2004
Posts: 714
Hoopy frood
|
Hoopy frood
Joined: Feb 2004
Posts: 714 |
on ^*:text:*:*:echo -mbflirt [color:red]$iif(#,#,$nick)[/color] $nick $+ : $1- | haltdef Hey  just a quick question here.. what does $iif(#,#,$nick) do? I mean, i know the $iif identif. but i dont get what it does it that particular script. Someone please?  Thanks, Zyzzy.
|
|
|
|
Iori
|
Iori
|
" what does $iif(#,#,$nick) do" echo -mbflirt $iif(#,#,$nick) $nick $+ : $1-/echo [[/b]color] [-cdeghiNtsaqlbfnmr] [[/b]color name] [#channel|[=]nick] <text>echo -mbflirt is the command and switches. $iif(#,#,$nick) the target (where to echo) $nick $+ : $1- the text to echo. In this case the $iif() determines the target for the echo. If target of the message was "#beginner" then the "#" will equate to "#beginner" and the result is " echo -mbflirt #beginner", else it will be $null and so " echo -mbflirt $nick would be the result. Clear as mud?
|
|
|
|
Iori
|
Iori
|
Time to fix some obvious mistakes in that. :tongue: on *:input:*:{
if /* !iswm $$1 && (# || $query($target)) {
echo -ati $+([,$me,]) $1-
.msg $ifmatch $1-
haltdef
}
}
on ^*:text:*:*:echo -mbflirt $iif(#,#,$nick) $+([,$nick,]) $1- | halt }
|
|
|
|
|