mIRC Home    About    Download    Register    News    Help

Topic Options
#103557 - 22/11/04 12:04 PM Changing the look of Action Input and Output HELP.
Shado Offline
Nutrimatic drinks dispenser

Registered: 17/11/04
Posts: 5
I been tryin to change the look of the input and output of the actions in my mirc but I have been unsuccessful.
Thank you

Code:
on ^*:ACTION:#:{
  if ($nick == $me) { echo $color(join text) -atc action *** $me $1- | halt }
  else { echo $color(join text) -atc $chan !.me $1-  |halt }
}


I want it to look something like this ...

[5:56am] * @TheDon slaps the chan with a turkey
To:
[5:56am] *** @TheDon slaps the chan with a turkey

Top
#103558 - 23/11/04 05:57 AM Re: Changing the look of Action Input and Output H
Shado Offline
Nutrimatic drinks dispenser

Registered: 17/11/04
Posts: 5
How about some help please..

Top
#103559 - 23/11/04 07:50 AM Re: Changing the look of Action Input and Output H
FiberOPtics Offline
Hoopy frood

Registered: 05/02/04
Posts: 2019
Loc: Leuven, Belgium
I don't think you can use 'if $nick == $me' in an on ACTION event.

This will change all the actions that come from other users, whether that is from a channel or from pm, it will be echoed to the appropriate place:

on ^*:ACTION:*:*: haltdef | echo -lbfrtc action $iif(#,#,$nick) *** $nick $1-

These aliases are replacements for the built-in /me and /describe, so that you can alter the way it looks when you perform an action, again whether that is to a nick or to a channel:

alias me !.me $$1- | echo -tc action $active *** $me $1-
alias describe !.describe $$1- | echo -tc action $1 *** $me $$2-

Greets
_________________________
Gone.

Top
#103560 - 23/11/04 08:40 AM Re: Changing the look of Action Input and Output HELP.
sparta Offline
Planetary brain

Registered: 22/02/03
Posts: 3432
Loc: Sweden/Borlänge
I guess this link would be somthing for you: http://www.mircscripts.org/showdoc.php?type=tutorial&id=77
_________________________
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Top