A set of alias commands that are for global network use.
Commands can be used on all networks you are connected to at once.
Global Channel Cycle/Hop
Global Nick Change
Global Message
;Global Cycle
;Scriptor : Anthrophobic
;Purpose : Cycle/Hop every channel you are on, this inculdes all networks.
;Network : irc.conflictirc.net
;Channels : #BNC
;Email : anthrophobic@conflictirc.org
alias ghopall {
var %y = 1
while (%y <= $scid(0)) {
scon %y
var %totalchans = $chan(0)
while (%totalchans) && ($scon(%y).status == connected) {
hop -c $chan(%totalchans) $iif($1-,$1-,Cycling All Channels)
dec %totalchans
}
inc %y
}
}
;Global Message
;Scriptor : Anthrophobic
;Purpose : Send a message to every channel you are on, this inculdes all networks.
;Network : irc.conflictirc.net
;Channels : #BNC
;Email : anthrophobic@conflictirc.org
alias gme {
set %scid $scid(0)
while ( %scid > 0 ) {
if ($network != $null) { scon %scid ame $1- }
dec %scid
}
}
alias gmsg {
set %scid $scid(0)
while ( %scid > 0 ) {
if ($network != $null) { scon %scid amsg 0[04 gmsg 0]14 $1- }
dec %scid
}
}
;Global Nick Change
;Scriptor : Anthrophobic
;Purpose : Changes your nick on all networks you are connected to.
;Network : irc.conflictirc.net
;Channels : #BNC
;Email : anthrophobic@conflictirc.org
alias gnick {
if ($1 == $null) { echo -a You need to provide a nickname to change to. }
else {
set -e %totalnets $scon(0)
while (%totalnets > 0) {
scon %totalnets nick $1
dec %totalnets
}
}
}