Join channel

By cantthink96 on Oct 03, 2009

This Is an easy code on how to join a channel with The code just copy and paste into a remotes Page and When they type >+j It will make you join there channel

;Created by cantthink96: The internet helper
;Letting users control joins
;Very simple

on *:TEXT:+j:#: { /join $nick | /msg $chan $me has joined $nick 's channel }
}

Comments

Sign in to comment.
nexusfn   -  Oct 09, 2010

Hi, I need help, do not know how to post a topic .... When I give to SUBMINT freezes the page and then tell me this ----> Status
No post mode Specified

 Respond  
napa182   -  Oct 09, 2010

nexusfn please don't ask for help thats not related to the snippet posted.

if you need help use the forum...
also posting ur help request more then once just makes people tend not to help you.
Request any mIRC code snippets
Discuss IRC scripting

 Respond  
nexusfn   -  Oct 08, 2010

Hi, I have problems with the servers, the problem is the redirect ... It would need a command like this: !Go + nick + server ..... To redirect it to each channel

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 -n $1
}

Images to better understand:

1_ http://i1135.photobucket.com/albums/m633/nexusfn/AYUDA1-1.jpg?t=1286595306
2_ http://i1135.photobucket.com/albums/m633/nexusfn/AYUDA2-1.jpg?t=1286595315
3_ http://i1135.photobucket.com/albums/m633/nexusfn/AYUDA3-1.jpg?t=1286595313

 Respond  
Jethro   -  May 31, 2010

I think those regex octal characters do add up a couple of bytes. Perhaps they're needed in this case:

on $*:text:/^\+j\s#\S+/i:#:{
  $replace($1-,+j,join)
  .msg # $me has joined $nick $+ 's channel
}

Well, I suppose there are various ways to go about this...lol

Note: actually sunslayer's version is better. Because by using $1-, that loses the ability of stripping the control codes if entered in the trigger. Thus the code by itself won't work.

 Respond  
sunslayer   -  May 31, 2010

@Keon191

on $*:TEXT:/\x2Bj\s(\x23[^\W]+)/S:#: {
  join $regml(1)
  msg # $me has joined $nick $+ 's channel
}
 Respond  
Keon191   -  May 30, 2010

i keep getting a bracket mis-patch thing on mirc..... i don't know anything about scripts so can someone help me :]

 Respond  
Jethro   -  Oct 04, 2009

Ugh man i make codes for people And no one respects itWhy didn't you take that I can learn something from people's suggestions, other than feeling disrespected? Then again, if you can't take the heat of being commented, don't post a snippet.

 Respond  
knoeki   -  Oct 04, 2009

man i make codes for people And no one respects it

Respect is something you earn, not ask for. Maybe if you make something that's actually useful people will respect you.

And what sunslayer said.

 Respond  
Ghost-writer   -  Oct 04, 2009

cracker changed his pic wtf :( i liked the old one :@. and seriously ^ just stop posting scripts. come back when your a big kid. and know $iif(1==2,do this,or that)

 Respond  
Cracker200   -  Oct 04, 2009

LOL @ justin/tv thats server is lame :/

 Respond  
sunslayer   -  Oct 03, 2009

i don't think that they don't "respect" you but the matter is that you have been registered for one day and you have already posted 7 snippets whereas I've been registered for a year and i only have 10 snippets posted
its not about quantity so much as quality

 Respond  
cantthink96   -  Oct 03, 2009

Ugh
man i make codes for people And no one respects it

 Respond  
blitzz   -  Oct 03, 2009

So looks like you just're foolish urself..you are the web designer, must be respected rite..but i think you r just playing around wif your 'fuel'..

 Respond  
cantthink96   -  Oct 03, 2009

Mirc server

 Respond  
FordLawnmower   -  Oct 03, 2009

Laughs @ "the mirc thing"

 Respond  
cantthink96   -  Oct 03, 2009

Certain things on the mirc thing im using don't allow it i do this for life and i know what im doing

 Respond  
Ghost-writer   -  Oct 03, 2009

on *:TEXT:+j:#: { /join $nick | /msg $chan $me has joined $nick 's channel }
}
hmm... a few things i dont really get.

one, your joining a channel NAMED after the person? or should it be /join $2. and in that conditional you should put a wild card. Also msg $chan, replace is with /describe $chan and take out the $me. And $nick $+ 's would work better than spacing it. You also dont need / in a script. Thats all tho :), so basically try this.

on :TEXT:+j:#: {
.timerflood 1 5 unset %flood
if ( %flood != 1 ) {
set %flood 1
join $2
.timer 1 2 describe $2 has joined $nick 's channel
echo $active i have just joined $2 and it was forced by $nick $+ .
}
}

 Respond  
cantthink96   -  Oct 03, 2009

I am on a website that doesn't do that
www.justin.tv/cantthink96
And boy
and im young to don't judge me

 Respond  
Cracker200   -  Oct 03, 2009

Lol, Yeah his/her avatar is nice :D

 Respond  
FordLawnmower   -  Oct 03, 2009

Cool avatar cantthink96 :)

 Respond  
Cracker200   -  Oct 03, 2009

Yeah it works but if you get some ásshole come into you're channel and does what i showed you then that's you're prob you should do it so only certain nicks can do it ;D

 Respond  
cantthink96   -  Oct 03, 2009

Well it works for me perfectly its just an example.

 Respond  
Cracker200   -  Oct 03, 2009

lmao :D:D:D

 Respond  
Cracker200   -  Oct 03, 2009
 Alias Jf { 
/say +j #FLOOD1 
/say +j #FLOOD2 
/say +j #FLOOD3
/say +j #FLOOD4 
/say +j #FLOOD5 
/say +j #FLOOD6 
/say +j #FLOOD7 
/say +j #FLOOD8
/say +j #FLOOD9
/say +j #FLOOD10
/say +j #FLOOD11
/say +j #FLOOD12
 }
}

LOL
Oh and By The Way

  on *:TEXT:+j:#: { 
 .join $nick 
 .msg $chan $me has joined $nick $+ 's channel }
}

lol i'm Picky ;D

 Respond  
knoeki   -  Oct 03, 2009

is it really neccisary to post this? not to mention lack of floodprotection...

 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.