| |
| |
| |
|
Comments:
<0> hey :) <0> how can i define 3 digits in tcl ? <0> sth like [0-9]\[0-9]\[0-9] or .. ? <1> a random string between 000 and 999 ? <0> yes .. i want to detect nicks with some digits in nick
<1> regexp it <0> [regexp "[0-9]\[0-9]\[0-9]" $nick] <2> #3031 (460 clicks) Tcl error: invalid command name "0-9" <0> so ? <1> ; set test wer234wer <2> #3033 (40 clicks) Tcl: wer234wer <1> bleh.. I **** at regexp :) <1> ask greenbear <0> greenbear are you here :)? <1> ; regexp {.*[0-9][0-9][0-9].*} $nick <2> #3037 (65 clicks) Tcl error: can't read "nick": no such variable <1> ; regexp {.*[0-9][0-9][0-9].*} $test <2> #3038 (136 clicks) Tcl: 1 <1> ; set test dfsdfsdf <2> #3039 (38 clicks) Tcl: dfsdfsdf <1> ; regexp {.*[0-9][0-9][0-9].*} $test <2> #3040 (61 clicks) Tcl: 0
<0> lol - crazy bot :) <1> although.. it doesn't care if there are 4 or 10 numbers in row <1> so you might want to use [:alpha:]*[0-9][0-9][0-9][:alpha:]* or something like that.. I'm not quite sure how alpha is triggered.. but it's something like that <1> and bot did exactly what I wanted it to <0> what is aplpha ? a function? <1> alpha is letters <1> it's a regexp thingy <1> and it's not like that in tcl apparently <1> http://www.tcl.tk/man/tcl8.4/TclCmd/re_syntax.htm <0> tnx, i'll read it <3> i'd just use \d{3} <0> {[regexp \d{3} $variable]} <0> so ? <0> i did it with {[0-9][0-9][0-9]} :) <0> one more question .. can i use two binds like this : bind pub - * proc1/2 <0> pubm* <0> nite <1> greenbear: there ?
Return to
#egghelp or Go to some related
logs:
qgreylistrbl.pl qmail-smtpd init_special_inode: bogus imode constantiny
There was an error in installation source initialization tac reverse slow #perl #linux IMSS telnet 10025 #linuxhelp No module named win32clipboard
|
|