little note, you need to use $2- instead of $2 in your $gettok if you want the '!roll 4 d 5' case to work


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