Just a fun little script I decided to make. Watch:
!log &AmericanGTS My dick is so small <3 <&Hobo> [17:58:39] <&AmericanGTS> My dick is so small <3 Fun huh? ```mirc on *:text:*!log*:#: { msg # $chr(91) $+ $time $+ $chr(93) < $+ $2 $+ > $3- } elseif ($2- == $null) { msg # What do you want a log for? } ```The question should have been "whom do you want to log for?" As napa182 stated, it's a safe bet to have a flood control. Last but not least, you need to make sure the person you are logging for exists:
on $*:text:/^!log/iS:#:{
if !%x {
inc -u4 %x
if !$2 {
msg # Whom do you want a log for?
}
else {
msg # $iif($strip($2) ison #,$timestamp $+(<,$2,>) $3-,$2 is not on # $+ !)
}
}
}
lolwut?
um it's more of a say command then a log, and why make ur trigger a wildcard? also ur else wont work.
1/10
anyways you can change
$chr(91) $+ $time $+ $chr(93) < $+ $2 $+ > $3-
to this
$timestamp $+(<,$2,>) $3-
but you should maybe check if $2 is a nick in the chan an maybe add a flood control to it.