ummm. ok your using regex for it and yet your not taking advantage of regex. your adding in $strip($1-) when regex if done correctly at least auto strips the text. not to mention your putting the regex right into the on text/ on action events but then using an if statement to grab the nick? that doesnt make sense to me. although my understanding of regex is very very limited and i had some help with my nickcaller on the regex portion of it.
on $*:text:$(/\b( $+ $me $+ |Ryan)\b/iS):#:{
on $*:action:$(/\b( $+ $me $+ |Ryan)\b/iS):#:{
that there strips the incoming text on both text and action events and will grab if my nick or my name ryan is said anywhere