Hello, i have two small regexps i would like to implement in a script.. It checks $2 for valid chars, and if not returtn..

Code:
on *:TEXT:!input *:#mychan: {
  [color:red]regexps[/color]
write mytext.txt $2
}


The regexps i want to use is {[regexp -all {\(} $2]!=[regexp -all {\)} $2]} and {[regexp {[^a-zA-Z0-9\(\)_.\-]} $2]} .
How do i use them? confused frown

Last edited by bapplander; 03/12/05 03:12 PM.