I made an "acronym" script, but i cant get it to work the way i want it to. All it does is makes 'lol' into ' LOL' . It will only do it if that is the only thing i type, or the first thing in a sentence.... i.e. "lol that was funny" would be "LOL that was funny" but if i type "that was funny lol" it wont change anything.

on 1:input:*:{
IF ($1 == lol) { SAY LOL | HALT }
}

HELP PLEASE.. thanks