mIRC Home    About    Download    Register    News    Help

Print Thread
Changing the look of Action Input and Output HELP. #103557 22/11/04 12:04 PM
Joined: Nov 2004
Posts: 5
S
Shado Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Nov 2004
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

Re: Changing the look of Action Input and Output H #103558 23/11/04 05:57 AM
Joined: Nov 2004
Posts: 5
S
Shado Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Nov 2004
Posts: 5
How about some help please..

Re: Changing the look of Action Input and Output H #103559 23/11/04 07:50 AM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
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.
Re: Changing the look of Action Input and Output HELP. #103560 23/11/04 08:40 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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,.) }