mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2003
Posts: 40
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2003
Posts: 40
Hi,
I am using mIRC 6.03 and I wanted to do something fpr a specific look. Explanation:

Someone joins, nick changes, Topic i.e. every line ist in the same color, the color you gave to it thru mirc.

Examples:

Nickchange: NiGHtOwL is now known as NiGHtOwL|afk
Quits: NiGHtOwL (Bye, Bye,)

What I would like to have is following look:

.:Nickchange:. NiGHtOwL is now known as NiGHtOwL|afk
.:Quits:. NiGHtOwL (Bye, Bye)

The event is in the color given thru mIRC but bold with the dots and the rest of it is normal text.

I would like to do that with Notice, Mode, Join, Whois, Who, Whowas, Part, Quit, Kick, Ban, Nickchange

All I know is that this has to go thru raw commands, but I haven't got a clue. I have tried themes, but I didn't like that much.

Question:
Is someone able to write a thing like a raw.ini or similar, I could load and it would work. As Isaid I don't know enough to be able to code that.

Thanks for help in advance smile


gr33tz
NiGHtOwL
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Quote:

All I know is that this has to go thru raw commands

Doesn't even have to do that, jsut "/help halting default text"

And to solve your examples to get you started:

Code:
on [b]^[/b]*:NICK: {
  var %chan = 1
  while ($comchan($nick, %chan)) {
    /echo -ti2 $ifmatch 9.:Nickchange:. $nick is now known as $newnick
    /inc %chan
  }
  /haltdef
}

on [b]^[/b]*:QUIT: {
  var %chan = 1
  while ($comchan($nick, %chan)) {
    /echo -ti2 $ifmatch 12.:Quit:. $nick ( $+ $1- $+ )
    /inc %chan
  }
  /haltdef
}


Those are much different because they do not pass a channel name, so i had to use a loop. The point is, use a ^ prefix (shown in bold) echo to the channel, and don't forget to /haltdef and you can make it look like whatever you want >:D

p.s Umm Para, why my BB code (bolds) not working? ...


-KingTomato
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Code tags stop other BBCode working, intentional I think..code tags on other boards do the same.

Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Untrue, I can use color just fine. I think its the ^ in the middle--might be triggering the regex case that the forum uses.


-KingTomato
Joined: May 2003
Posts: 40
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2003
Posts: 40
Thank you king tomato,
you might shake your head now, but I haven't got a clue what u are talking about. Well yes, I can copy and paste these code lines into a text file, all lines get shifted, it takes me ages that they look the same like yours... Apart from that I do not understand what that does there or if it does what I would like to see in the chat, what to do with the code? Paste it where or... I am sorry, on one side I am happy about help and obviously I believe it would do what I wish so much, but on the other hand, I don't know how or what, I am confused. Forgive me, but I don't know anything about coding.



gr33tz
NiGHtOwL
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
well, you may try copying from between the code tags, and opening wordpad (start>>run wordpad) and paste to there. Then in wordpad, reselect, and copy and paste again (yes again) then paste to mirc remotes (alt+r) and it should retain its form..

As for wanting to know how, type /help halting default text. The ^ means "process before mirc does" meaning that you can do what you want with the text before mirc has a change to echo it to your screen.. For example, you have:
on 1:TEXT:Hello:#: { /echo -a $Nick said hello }

and now i say hello, you would see
Quote:

<kingtomato> hello
kingtomato said hello

Now, we use the ^ prefix:
on ^1:TEXT:Hello:#: { /echo -a $Nick said hello }

Now we see:
Quote:

kingtomato said hello
<kingtomato> hello


See the difference? Now, with a haltdef:
on ^1:TEXT:Hello:#: { /echo -a $Nick said hello | /haltdef }
Quote:

kingtomato said hello


Now, dpo that will all the events.. You echo your version before mirc does, stop mircs text from displaying with /haltdef, and viola! a personal theme >:S


-KingTomato
Joined: May 2003
Posts: 40
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2003
Posts: 40
I am totally sorry. I did what u said. Copied it into Wordpad. Deleted the BBCode, pasted it into the remote....

Trying hard.....

But all what happens is, that it won't show in the channel anymore when I change my nick or others... no colors, no nothing. I do try so hard over weeks now and finally got to this board.... Is that really so much what I wanna do there?

frown


gr33tz
NiGHtOwL
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Code:
[b]Test1[/b]
[color:brown]test2[/color]
[url=test4]test5[/url]
[img]test6[/img]


Perculiar..color seems to be the exception..

Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Sorry, my mistake--try this one...

Code:
on ^*:NICK: {
  var %chan = 1
  while ($comchan($newnick, %chan)) {
    /echo -ti2 $ifmatch 9.:Nickchange:. $nick is now known as $newnick
    /inc %chan
  }
  /haltdef
}

on ^*:QUIT: {
  var %chan = 1
  while ($comchan($nick, %chan)) {
    /echo -ti2 $ifmatch 12.:Quit:. $nick ( $+ $1- $+ )
    /inc %chan
  }
  /haltdef
}


-KingTomato
Joined: May 2003
Posts: 40
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2003
Posts: 40
Ok, for NICK and QUIT, I got it working now, but about the rest I am dispairing.... confused

I tried:
Code:
 

on ^*:PART: {
  var %chan = 1
  while ($comchan($nick, %chan)) {
    /echo -ti2 $ifmatch 12.:Leaving:. $nick has parted $address
    /inc %chan
  }
  /haltdef
}

 


and I tried:

Code:
 

on ^*:TOPIC: {
  var %chan = 1
  while ($comchan($newnick, %chan)) {
    /echo -ti2 $ifmatch 3.:Topic:.
    /inc %chan
  }
  /haltdef
}

 


and I tried for JOIN and so on.... I just altered the colors...but nothing really nothing works. If I try something for NOTICE, well I can read the colored word .:notice:. but what the actually notice is, I can't read because not shown.

Please KingTomato, can you write down the codes or make that for me? I would need it for MODE (even a bot sets mode)
JOIN, PART, NOTICE, TOPIC, WHOWAS, WHOIS, WHO, CHANSERV, MEMOSERV .
I guess for you just nothing, I am breeding over that for weeks now. Asked various ppl, tried to find an understandable tutorial.... used Google... I can't do it. I can't help it.

I am sorry. And the ready made scripts... I have installed at least 15 to see and to understand. I didn't like the look of them or I didn't understand what was done there.

Please could you help?

Last edited by NiGHtOwL; 26/06/03 05:13 PM.

gr33tz
NiGHtOwL
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Like i said, quit and nick are unique. They do not have the #: on the end of the line (on *:TEXT:*:#: for example). Those are much simpler, try this:

Code:
on ^*:PART:[color:Red]#:[/color] {
  /echo -ti2 $chan 12.:Leaving:. $nick has parted $address
  /haltdef
}

on ^*:JOIN:[color:Red]#:[/color] {
  /echo -ti2 $chan 12.:Joining:. $nick has joined $address
  /haltdef
}

on ^*:TOPIC:[color:Red]#:[/color] {
  /echo -ti2 $chan 3.:Topic:. $1-
  /echo -ti2 $chan Set by: $nick
  /haltdef
}


I made the portions where you made a mistake bold so you can learn from them. My suggestion is look at /help on <event> and check to make sure you have the syntax (proper setting) of the commands.

EDIT: err, well atleast i Tryed to make em bold--now they're red >:D


-KingTomato
Joined: May 2003
Posts: 40
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2003
Posts: 40
I did again like you said and I got a lot further now.

One more question, if I am allowed to.

Code:
on ^*:KICK:#: {
  /echo -ti2 $chan 4.:Kick:. $knick was kicked by $nick
  /haltdef  [color:red] ??? [/color] 
}



How can I manage it that the Kick message is shown behind it. Like this the kick message won't show, either I am kicking a person or another Op does. This specific thing I did not discover in the help. Ok, it wold be $1- ... I would like the kick reason in Brackets. Exammple:

DumbNut was kicked by NiGHtOwL (go away)

Last edited by NiGHtOwL; 27/06/03 04:13 AM.

gr33tz
NiGHtOwL
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
$1- returns the kick message in an on KICK event.
Code:
on ^*:KICK:#: {
  echo -ti2 $chan 4.:Kick:. $knick was kicked by $nick ( $+ $1- $+ )
  haltdef
}

Joined: May 2003
Posts: 40
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2003
Posts: 40
Ok, thank you and especially thanks to KingTomato (I tried to reach you in your channel, your name was there, but you yourself? *ggg*) as well... you ppl are really helpful... my luck I can speak english wink

/me is german *g*


gr33tz
NiGHtOwL
Joined: May 2003
Posts: 40
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2003
Posts: 40
Wow... I got a lot further now... but... I am totally sorry... I got my problems still with 3 issues. Sorry, if I get on someones nerves here. I searched the forums here and I did read mIRC Help. But I cannot guess into it.

What I would like to have is:

When there's a notice, snotice, no matter whatever it is, I would like to have that displayed in the active window for example like this:

.:Notice:. FromWhoTheMsgCame, Actual Message

(no matter from a person or from hostserv, nickserv, botserv, chanserv, but the sender should be displayed)

Same I would like to with a Memo. Example:

.:Memo:. FromWho, Actual Message

The WHOWAS, WHOIS and WHO is displayed like this:

Borg is Borg@all.your.base.are.belong.to.us * Borg
Borg is a registered nick
Borg on *#unimatrix ^#spasswelt @#Planetopia @#hh +#gulli Borg using dOminiOn.german-elite.net Austria is Back - german-elite.net
Borg is away: -[ forgot to talk for 60 minutes... ]- since 05:44p -[ P:Off / L:Off ]-
Borg is a Network Administrator
Borg mAsTeR idler from german-elite.net
borg End of /WHOIS list.

I would like to change that into:

.:Whois:. Borg is Borg@all.your.base.are.belong.to.us * Borg
.:Whois:. Borg is a registered nick
.:Whois:. Borg on *#unimatrix ^#spasswelt @#Planetopia @#hh +#gulli
.:Whois:. Borg using dOminiOn.german-elite.net Austria is Back - german-elite.net
.:Whois:. Borg is away: -[ forgot to talk for 60 minutes... ]- since 05:44p -[ P:Off / L:Off ]-
.:Whois:. Borg is a Network Administrator
.:Whois:. Borg mAsTeR idler from german-elite.net
.:Whois:. / End of WHOIS list.

Any hints, solutions are welcome. Thanks for help in advance.

smile


gr33tz
NiGHtOwL
Joined: May 2003
Posts: 40
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2003
Posts: 40
Shiftin' upwards this Thread... I am sorry.


gr33tz
NiGHtOwL

Link Copied to Clipboard