Topic load to inputbox

By pereba on May 22, 2013

Quick command to load the current channel topic to inputbox for easy and quickly editing.

Usage: /topic

Doesn't interfere in default client alias.

Tested in mIRC and AdiIRC.

Credits to kr0n @ NordicIRC network.

;//////////////////////////////////////
;Topic load to inputbox 0.1 - http://www.hawkee.com/snippet/9941/
;Quick command to load the current channel topic to inputbox for easy and quickly editing.
;Credits to kr0n @ NordicIRC network.
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

alias topic {
  if (!$1) {
    editbox -a /topic # $chan(#).topic
    halt
  }
  .!topic $1-
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.