Well the code I posted was meant to be inserted into the on text event, but there isn't one in the code you posted so I take it it's only you who can type "!imdb yada yada..." In which case, add that code to the on input event like so..

Change this line
Code:
on *:INPUT:#:{ if ($_trigger($1)) { _input $chan $cid $nick $2- } }

To this
Code:
on *:INPUT:#:{
  if ($_trigger($1)) {
    if %imdbcontrol { return }
    inc -u300 %imdbcontrol
    _input $chan $cid $nick $2-
  }
}


Don't forget to remove the code you just added from my last post though wink