; Declaring an 'on text' event matching on a [i]regular expression[/i]. \S+ is the nickname entered and is captured in $regml(2).
On $*:Text:/^(\.rape\s(\S+))$/Si:#channelname:{
; An antiflood variable is verified if inexistant here
If !%isbusy {
; Verifying if the $2 entered is really a nickname on the channel where the event took place.
If ($regml(2) isreg #) {
; Messaging 2 delayed messages now ...
.Timer 1 1 MSG # This may hurt a little...
.Timer 1 3 Describe # rams a huge dildo in and out of $regml(2)
; Setting the %isbusy antiflood variable to 'active' status.
; Whilst this variable will exist, the bot will not reply to anyone. The -z5 switch makes that it will active for 5 seconds before unsetting itself.
Set -z5 %isbusy processing already...
}
; This need no explanation
Else { .Timer 1 1 Notice $nick $2 not found on # }
}
; This also need no explanation :)
Else { .Timer 1 1 Notice $nick %isbusy please wait. }
}