mIRC Home    About    Download    Register    News    Help

Print Thread
#195743 29/02/08 08:33 PM
Joined: Oct 2007
Posts: 214
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Oct 2007
Posts: 214
Hello,

I am trying to do a code that would allow me to utilize the /me, /action and /describe commands on an Input statement. But so far it only works for the /me command heres what i have so far.

on *:INPUT:#: {
if ((/* !iswm $1) || (/me == $1)) {
var %p = $left($nick($chan,$me).pnick,1)
if (%p == $left($me,1)) unset %p
if (/me != $1) {
echo $color(own) -ti2 $chan %p $+ $me : $1-
.msg $chan $1-
}
else {
echo $color(action) -ti2 %p $+ $me $2-
.describe $chan $2-
}
haltdef
}
}

Could anyone help?

Thanks a bunch

- J

Joined: Sep 2007
Posts: 28
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Sep 2007
Posts: 28
I'm using something like this:

Code:
alias me { echo -a <theme> | privmsg $active ACTION $1- }
alias describe { echo $1 <theme> | privmsg $1 ACTION $2- }
alias msg { echo $1 <theme> | privmsg $1- }


Link Copied to Clipboard