mIRC Home    About    Download    Register    News    Help

Print Thread
need help with some code #245309
16/04/14 05:43 AM
16/04/14 05:43 AM
Joined: Mar 2014
Posts: 20
R
raven124 Offline OP
Ameglian cow
raven124  Offline OP
Ameglian cow
R

Joined: Mar 2014
Posts: 20
for some reason my code refuses to work when i have the link protection and the points system together on the same client of mirc and if i take the link protection out it all works but if i add in the caps protection everything under it refuses to work in the same client. is there anyway i can have all of it in one client and have it all work with out it conflicting with something else in it?
heres my code http://pastebin.com/VfFMU5sL

Re: need help with some code [Re: raven124] #245311
16/04/14 07:10 AM
16/04/14 07:10 AM
Joined: Apr 2014
Posts: 33
B
bl968 Offline
Ameglian cow
bl968  Offline
Ameglian cow
B

Joined: Apr 2014
Posts: 33
I use separate mrc files for each module and that will eliminate a lot of the conflict. It also makes it easier to debug bot problems...

Basically you can't have multiple on text wildcards in the same script file you either have to merge them into one, or do as I suggested above and put each script in it's own mrc file.

Re: need help with some code [Re: bl968] #245319
16/04/14 09:13 AM
16/04/14 09:13 AM
Joined: Mar 2014
Posts: 72
A
AllDayGrinding Offline
Babel fish
AllDayGrinding  Offline
Babel fish
A

Joined: Mar 2014
Posts: 72
How do you make separate files?

Re: need help with some code [Re: AllDayGrinding] #245323
16/04/14 10:19 AM
16/04/14 10:19 AM
Joined: Dec 2013
Posts: 779
Sweden
N
Nillen Offline
Hoopy frood
Nillen  Offline
Hoopy frood
N

Joined: Dec 2013
Posts: 779
Sweden
Alt + R, > File > New.

On topic, just like bl968 said, you have 2 instances of on *:text:*:#: - The * indicates that ALL text should trigger this event. Thus making all events come to the first of these instead of the second. The fix is to either make a new file (Which I didn't know I could back at the time) so I made them all into one big event instead.

But if you just make a new file and paste one of them in there, it'll work exactly the way you want it to.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: need help with some code [Re: raven124] #245336
16/04/14 11:12 PM
16/04/14 11:12 PM
Joined: Mar 2014
Posts: 20
R
raven124 Offline OP
Ameglian cow
raven124  Offline OP
Ameglian cow
R

Joined: Mar 2014
Posts: 20
so just to make sure i understand all this, one client of mirc can run ore than 1 file at a time and it will work correct?

Last edited by raven124; 16/04/14 11:12 PM.
Re: need help with some code [Re: raven124] #245337
16/04/14 11:19 PM
16/04/14 11:19 PM
Joined: Mar 2014
Posts: 52
P
patrickplays Offline
Babel fish
patrickplays  Offline
Babel fish
P

Joined: Mar 2014
Posts: 52
yes