/help $replace
$replace($1-,lol,Laughing Out Loud)
Also, you aren't specifying what you want to happen with that. You should have it look like this:
on *:input:*: {
if ($left($1,1) == / || $ctrlenter) { return }
if (lol isin $strip($1-)) {
msg $target $replace($1-,lol,Laughing Out Loud)
halt
}
}