Project

General

Profile

[Script] Simple channel history

Added by Per Amundsen 14 days ago

Saves all joined channels to a temporary list and adds a right-click menu for rejoining.

on me:*:JOIN:#:{
  if (!$hget(channelhistory $+ $network, #)) {
  echo -ag  dd #
    hadd -m channelhistory $+ $network # #
  }
}

menu * {
  Channel History
  .$submenu($channelhistory($1))
  }
}

alias channelhistory {
  if ($hget(channelhistory $+ $network)) {
    var %chan = $hget(channelhistory $+ $network, $1)
    return %chan $+ :join %chan
  }
}