Multi server Join command

Platform:  mIRC
Published  Jun 28, 2009
Updated  Jun 28, 2009
type !join # (no # needed in actual comma, # represents the channel you want it to join)

you need to be connected to the server that the char resides on but it will join 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
}

Comments

Sign in to comment.
DEATH69   -  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  
Sharky_Dude   -  Jul 06, 2011
Looks like the mismatch is on line 5. But meh, you asked over a year ago lol.
 Respond  
Keon191   -  May 30, 2010
im getting a bracket mis-patch thing in mirc. can you help me D:
 Respond  
AztecRecords   -  Jul 26, 2009
don't know if you know about justin.tv
anyways im working on a bot right know, and i wanna know how can some1 go to my channel and time !go <nick> <ip channel>
i tried this code, but it didn't work (the one u posted in here)
 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.