Top

Multi server Join command


mIRC Code
+ 1 likes
Please Register to submit score.
Bookmark and Share
Average Score  10.0 (of 1 scores)
Date Added  Jun 28, 2009
Last Updated  Jun 28, 2009
Tags  bots  command  join  multi  server 

Introduction

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

Grab the Code

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

  (1)  RSS
AztecRecords
Comments: 4
 
mIRC Snippet:  Multi server Join command
Posted on Jul 26, 2009 1:08 am
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)

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom