mIRC Home    About    Download    Register    News    Help

Topic Options
#245309 - 16/04/14 06:43 AM need help with some code
raven124 Offline
Ameglian cow

Registered: 03/03/14
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

Top
#245311 - 16/04/14 08:10 AM Re: need help with some code [Re: raven124]
bl968 Offline
Ameglian cow

Registered: 15/04/14
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.

Top
#245319 - 16/04/14 10:13 AM Re: need help with some code [Re: bl968]
AllDayGrinding Offline
Babel fish

Registered: 26/03/14
Posts: 72
How do you make separate files?

Top
#245323 - 16/04/14 11:19 AM Re: need help with some code [Re: AllDayGrinding]
Nillen Offline
Hoopy frood

Registered: 24/12/13
Posts: 779
Loc: 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

Top
#245336 - 17/04/14 12:12 AM Re: need help with some code [Re: raven124]
raven124 Offline
Ameglian cow

Registered: 03/03/14
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?


Edited by raven124 (17/04/14 12:12 AM)

Top
#245337 - 17/04/14 12:19 AM Re: need help with some code [Re: raven124]
patrickplays Offline
Babel fish

Registered: 28/03/14
Posts: 52
yes

Top