mIRC Home    About    Download    Register    News    Help

Print Thread
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

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..

Joined: Feb 2004
Posts: 2,019
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.
Joined: Feb 2003
Posts: 3,432
S
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,.) }

Link Copied to Clipboard