creasy wrote: ...
And another question, can I use wildcards, like "nick*"?
and if you want to use wildcards, it would require a little bit more scripting.willyw wrote: ...
If you want to work with a list of nicks, or check against user file for a specific flag, or check to see if poster is an op - it would require a little bit more scripting.
...
One idea, might be to use the
string match
command. Check out : http://www.tcl.tk/man/tcl8.5/TclCmd/string.htm#M39
Something along the lines of:
Code: Select all
if {[string match nick* $nickname]} {
return 0
}