something like:
on $*:text:/!will * fight me/:#:{
var opponentname = $2
}



I'm not sure on this syntax at all, but basically, do whatever syntax lets you take in user supplied text from the command. Store the name into a variable, do code for whatever you want to do, and then return a response.