I do like the way Loki coded this. It is very neat and easy to be modified.
I believe you only need to modify this parts.
note: [...code...] is loki's original code
Code:

[..code...]

on $@*:text:/^!(topic|game)/iS:#:{
  var %switch $iif($1 == !topic,status,game)
  if ($2 != $null) {
    if ($nick isop #) twitch.topic # %switch $2-
  }
  else {
    twitch.topic # %switch
  }
}

alias twitch.topic {
  var %chan = $1, %switch = $2, %topic = $3-

  [...code...]

  hadd %sockname params %chan %switch

  [...code...]

    hadd %sockname data channel[ $+ %switch $+ ]= $+ $urlencode(%topic)

  [...code...]

}

on *:signal:topic.get:{
  var %err = $1, %sockname = $2, %header = $3, %data = $4, %chan = $5, %switch = $6

  if (* 200 OK iswm $read(%header,1)) msg %chan Status: $json(%data,%switch)

  [...code...]

}

on *:signal:topic.set:{
  var %err = $1, %sockname = $2, %header = $3, %data = $4, %chan = $5, %switch = $6

  if (* 200 OK iswm $read(%header,1)) msg %chan Status set: $json(%data,%switch)

  [...code...]

}

[...rest of code...]

This is untested.
I dont have twitch account wink