Project

General

Profile

[script] Topic load to inputbox

Added by Mr. BS about 10 years ago

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

Usage:

- /topic <enter>

Video demo:

<video controls>
<source src="http://1.grn.cc/temp/2014-03-13_20-50-28.mp4&quot;>
</video>

Script:

; Topic load to inputbox - http://dev.adiirc.com/boards/5/topics/166
; v0.1 by pereba

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