DEATH69 commented on a Page, Multi server Join command  -  Jun 11, 2012

The bracket in line 5 was not needed here is the fix It works now

on :TEXT:!join :*:{
/join $2
msg $chan $nick just Forced me to $2
}

alias getConnection {
; Parameter $1 is the full IP address of a server Ex: 199.9.249.8
; Returns the server connection id that server IP is located.

var %numConnections = $scon(0)
var %serverIncrement = 1

; Which connection is the server located?
while (%serverIncrement <= %numConnections) {
if ($scon(%serverIncrement).$serverip == $1) {
return $scon( [ $+ [ %serverIncrement ] ] )
}
else {
inc %serverIncrement
}
}
}

raw REDIRECT:*:{
scid $getConnection($2) join -nx $1
}

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.