######################
# SET OR CLEAR TOPIC #
######################
on ^topic * if ([$2]) {
  echo *** $0 has changed the topic on channel $1 to $2-
  }{
    echo *** $0 has cleared the topic on channel $1
    }
######################

##################################
# /PAUSE to put pause mode on    #
# /PAUSE to return to normal     #
# /UNPAUSE for the skepticals :p #
# TG!cedras@rahul.net            #
##################################
alias pause {
  if (!pauseset) {
    ^SET HOLD_MODE ON
    @pauseset = [ON]
    echo #*#* In Pause Mode... (hit Enter/Return to continue scrolling if paused)
    } {
       if ([$pauseset] == [ON]) {
         ^SET HOLD_MODE OFF
         ^assign -pauseset
         echo #*#* Back to normal scroll mode ... (Pause Mode cancelled)
         } {}
       }
}

alias unpause {
@pauseset = [ON]
pause
}
################ END OF PAUSE FUNCTION

