/^!take([1-9][0-9]?)$/i looks ok to me, to match 1-99, just put the '?' on the second [0-9] character class, which can be written as \d btw.

/^!take([1-9]\d?)$/i


#mircscripting @ irc.swiftirc.net == the best mIRC help channel