Method code for $channel_ui.channel_page_cmd()

[Turn off line numbering]
  1: arg cmd, cmstr, channel;
  2: var text, line;
  3: 
  4: if (.channel_alias(channel) == "")
  5:     return .tell("Channel alias " + channel + " does not exist.");
  6: text = .read();
  7: if (text == 'aborted)
  8:     return .tell("@paste aborted.");
  9: else if (!text)
 10:     return .tell("@paste nothing?");
 11: for line in (text)
 12:     .broadcast(.channel_alias(channel), ":paste: " + line);

// Created 24-Jul-1996 as a part of ColdCore, see: @help Credit

Tlon