Code:
on *:text:!coffee*:#:{
  ; Store your vip user into %vip.user variable
  var %vip.user username username2 username3 etc
  ; Make sure there's no message after !coffee
  if ($2 == $null) {
    ; Make sure that the user is a VIP
    if $istok(%vip.user,$nick,32) {
      ; Random between 1 and 3.
      var %r $rand(1,3)
      if (%r == 1) { msg # /me gives $nick a cup of coffee in his favorite cup. | return }
      if (%r == 2) { msg # bleh | return }
      if (%r == 3) { msg # bluh | return }
    }
    ; If user isn't a VIP
    else {
    ; Random between 1 and 2.
      var %r $rand(1,2)
      if (%r == 1) { msg # /me throws a cup of coffee to $nick $+ . | return }
      if (%r == 2) { msg # heh | return }
    }
  }
  ;If another message is posted after, the above code won't go, so this goes.
  ; Make sure that the user is a VIP
  if $istok(%vip.user,$nick,32) {
    ; Random between 1 and 3.
    var %r $rand(1,3)
    if (%r == 1)  { msg # /me gives $nick a cup of $2- coffee in his favorite cup. | return }
    if (%r == 2)  { msg # bleh $2- | return }
    if (%r == 3)  { msg # bluh $2- | return }
  }
  ; If user isn't a VIP
  else {
    ; Random between 1 and 2.
    var %r $rand(1,2)
    if (%r == 1) { msg # /me throws a cup of $2- coffee to $nick $+ . | return }
    if (%r == 2) { msg # heh | return }
  }
}


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net