-
;********************************************************************
;********************************************************************
;********************************************************************
;********************************************************************
;********************************************************************
;Sorry! I was being a bitch when I put this up. Decided to put it up again but have lost the snippet
;********************************************************************
;********************************************************************
;********************************************************************
;********************************************************************
;********************************************************************
;********************************************************************
;********************************************************************
Teen, one thing about using regex is that it'll match everywhere. (As in the use of iswm and isin) Regex by design is prevalent, meaning it'll acquire as many strings as feasible. So you need to make sure it starts somewhere and ends at certain point.> elseif $regex($1,/^!(rock|paper|scissors)$/iS) {Also, take advantage of the /i and /S modifier to make it case insensitive (yes, regex is case-sensitive by nature! For example, if someone enters the command in uppercase, it won't be recognized.) The /S modifier is a non-standard modifier used mainly for mIRC to strip out control codes. This is useful because some people have custom scripts that use control codes...and that may render the commands unrecognizable if one does not have the option of "strip out all incoming messages" enabled via mIRC options.