|
Joined: Jan 2009
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Jan 2009
Posts: 7 |
hey i was trying to use this script:
on *:connect: { if ($network == GameSurge) { set %GameSurge.cnt 1 .timerGameSurge $lines(MyChannels.txt) 2 JoinChannel } } alias JoinChannel { join $read(MyChannels.txt,%GameSurge.cnt) inc %GameSurge.cnt }
but i get this error * /join: insufficient parameters (line 8, script1.ini)
what would the problem be? am i not saving MyChannels.txt to the right spot?
|
|
|
|
Joined: Feb 2007
Posts: 234
Fjord artisan
|
Fjord artisan
Joined: Feb 2007
Posts: 234 |
MyChannels.txt should be in the mirc directory according you your script.
|
|
|
|
Joined: Jul 2007
Posts: 1,129
Hoopy frood
|
Hoopy frood
Joined: Jul 2007
Posts: 1,129 |
on *:CONNECT: {
if ($network == GameSurge) {
.timerGameSurge 1 2 joinchannel
}
}
alias -l joinchannel {
var %x = $lines(MyChannels.txt)
while (%x) {
join $chan $read(MyChannels.txt,n,%x)
return
}
dec %x
} In your txt file, your channels should be saved horizontally with a comma in between as in: #channel1,#channel2,#channel3,#channel4,#channel5
|
|
|
|
Joined: Jan 2009
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Jan 2009
Posts: 7 |
on *:CONNECT: {
if ($network == GameSurge) {
.timerGameSurge 1 2 joinchannel
}
}
alias -l joinchannel {
var %x = $lines(MyChannels.txt)
while (%x) {
join $chan $read(MyChannels.txt,n,%x)
return
}
dec %x
} In your txt file, your channels should be saved horizontally with a comma in between as in: #channel1,#channel2,#channel3,#channel4,#channel5 ok my channel is in a list ill try that in a few mins and get back to you guys
|
|
|
|
Joined: Jan 2009
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Jan 2009
Posts: 7 |
this script does not even work for fixing target change to fast. it joins all the channels at once super fast, anyone know how to set like a 5 second delay for each channel in this script? could someone mod it for me?
|
|
|
|
Joined: Jul 2006
Posts: 4,145
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 4,145 |
Your first code was right.As you said, I think it's the file which was not where you think it was.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Jan 2009
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Jan 2009
Posts: 7 |
Your first code was right.As you said, I think it's the file which was not where you think it was. thats not the problem anymore can someone add a delay to join channels in this script so i dont get the "Target change too fast" message when I try to join all these channels?
|
|
|
|
Joined: Jul 2006
Posts: 4,145
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 4,145 |
There is already a delay in this code, and please don't create another thread for the same problem (see here) Have you tried to increase the delay ?
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Jan 2009
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Jan 2009
Posts: 7 |
There is already a delay in this code, and please don't create another thread for the same problem (see here) Have you tried to increase the delay ? thats where i got script... i was having problems with it so i was asking help... wasnt going to bump an old threat... and i dont see the timer, and it loads the channels litterly 1 milli second from eachother
|
|
|
|
Joined: Jul 2006
Posts: 4,145
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 4,145 |
thats where i got script... i was having problems with it so i was asking help... wasnt going to bump an old threat... Why ? That's the best thing to do. I don't know the code you're using actually, but try this : alias jchan {
var %c = #chan #chan1 #chan2
.timerj $numtok(%c,32) 5 join $!gettok( %c ,$calc($timer(j).reps + 1),32)
} This will wait 5 second between each join, don't forget to change the variable %c with your channels (space separated).
Last edited by Wims; 30/01/09 10:11 PM.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Jan 2009
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Jan 2009
Posts: 7 |
thats where i got script... i was having problems with it so i was asking help... wasnt going to bump an old threat... Why ? That's the best thing to do. I don't know the code you're using actually, but try this : alias jchan {
var %c = #chan #chan1 #chan2
.timerj $numtok(%c,32) 5 join $!gettok( %c ,$calc($timer(j).reps + 1),32)
} This will wait 5 second between each join, don't forget to change the variable %c with your channels (space separated). ok i put it like: alias jchan { var %c = #sta.css #avian #teambip #bridgekids #cinque #epikgaming #phen #teampinoygaming #ragequit #zilla #ylb #dekonia #deja-vu #leetladygamers #warsisters #qway #goodfoot #digitalstorm #teamteam #royalflush #a1gaming #cp4 #notion .timerj $numtok(%c,32) 5 join $!gettok( %c ,$calc($timer(j).reps + 1),32) } in the remote secection of my script editor and saved it and it doesnt seem to be working, what am i doing wrong?
|
|
|
|
Joined: Jul 2007
Posts: 1,129
Hoopy frood
|
Hoopy frood
Joined: Jul 2007
Posts: 1,129 |
Did you enter: /jchan Or you can do this in your connect event: on *:connect: {
if ($network == GameSurge) {
var %c = #sta.css #avian #teambip #bridgekids #cinque #epikgaming #phen #teampinoygaming #ragequit #zilla #ylb #dekonia #deja-vu #leetladygamers #warsisters #qway #goodfoot #digitalstorm #teamteam #royalflush #a1gaming #cp4 #notion
.timerj $numtok(%c,32) 5 join $!gettok( %c ,$calc($timer(j).reps + 1),32)
}
}
Last edited by Tomao; 01/02/09 08:57 AM.
|
|
|
|
Joined: Jan 2009
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Jan 2009
Posts: 7 |
Did you enter: /jchan Or you can do this in your connect event: on *:connect: {
if ($network == GameSurge) {
var %c = #sta.css #avian #teambip #bridgekids #cinque #epikgaming #phen #teampinoygaming #ragequit #zilla #ylb #dekonia #deja-vu #leetladygamers #warsisters #qway #goodfoot #digitalstorm #teamteam #royalflush #a1gaming #cp4 #notion
.timerj $numtok(%c,32) 5 join $!gettok( %c ,$calc($timer(j).reps + 1),32)
}
}
nice! thank you man it works, you were a big help
|
|
|
|
Joined: Oct 2005
Posts: 1,741
Hoopy frood
|
Hoopy frood
Joined: Oct 2005
Posts: 1,741 |
Have you tried:
/join #channel1,#channel2,#channel3
-genius_at_work
|
|
|
|
|