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 }
}
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
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
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.
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 $+ .
}
}
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