mIRC Home    About    Download    Register    News    Help

Print Thread
#4501 02/01/03 06:39 AM
Joined: Dec 2002
Posts: 23
N
NEMESIS Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Dec 2002
Posts: 23
ok i've been trying every way i know to get this to work but it only works for others. when i try to do an action it doesn't work and instead shows a regular action. basically i guess what i'm trying to do is just change the timestamp. anyways if anyone can help i'd appreciate it.

on ^*:action:*:#:{
if ($me ison $chan) && ($1- != $null) && ($nick == $me) { echo $chan 7[9 $date(hh:nn:tt) 7] * $me $1- | haltdef }
if ($me ison $chan) && ($1- != $null) && ($nick != $me) { echo $chan 7[9 $date(hh:nn:tt) 7] * $nick $1- | haltdef }
}

again it only works on ($nick != $me) but ($nick == $me) will not.

#4502 02/01/03 06:43 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on ACTION and on TEXT don't trigger when you perform the command, you will have to use on INPUT.

#4503 02/01/03 06:46 AM
Joined: Dec 2002
Posts: 23
N
NEMESIS Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Dec 2002
Posts: 23
i thought input was it but i don't know exactly what i would have to put to make it work.

#4504 02/01/03 06:50 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on *:INPUT:#:{
if ( $1 == /me ) && ( $ctrlenter == $false ) {
echo -a 7[9 $date(hh:nn:tt) 7] * $me $1-
haltdef
}
}

on *:INPUT:?:{
if ( $1 == /me ) && ( $ctrlenter == $false ) {
echo -a 7[9 $date(hh:nn:tt) 7] * $me $1-
haltdef
}
}

#4505 02/01/03 07:04 AM
Joined: Dec 2002
Posts: 23
N
NEMESIS Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Dec 2002
Posts: 23
thanks, though it was exactly right becuase it just echo'ed it but it pointed me on the right track.

if ($1 == /me) && ($ctrlenter == $false) { echo -a 7[9 $date(hh:nn:tt) 7] * $me $2- | .me $2- | haltdef }


Link Copied to Clipboard