mIRC Home    About    Download    Register    News    Help

Print Thread
#249091 14/11/14 02:41 PM
S
Sparkz
Sparkz
S
All my scripts work perfectly when they are by themselves (multiple scripts in remote loaded) but I want to combine all my scripts into one big remote script (only need to load one) as I am going to be running bots for multiple channels and it would be a lot easier to just have to load one big script. I have tried combining them into one big script but they stop working.

Is there a way to combine all my scripts and have them all working?

Thank you.

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Yes it is. but we must see your scripts to merge them, also this project on an large file of scripts will be take too much time to do and also the testing too but if anyone has the time to do it its ok.

S
Sparkz
Sparkz
S
Would you be able to combine my scripts so that they all work? I have the time to test it after.

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
I don't know let me see them first if the time is too long i will not.

S
Sparkz
Sparkz
S
What is the best way for me to send them to you?

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
LOL, try pastebin one by one and send all the links here.

S
Sparkz
Sparkz
S

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
LOL!! there are too many and all the files lines are too complicate on each file, sorry i cannot help! i though were 5-6 files but are too many!

S
Sparkz
Sparkz
S
That sucks. Was really hoping someone could help me with this.

B
Belhifet
Belhifet
B
Everything you posted can be put into one big file with the exception of the text events that respond to a wildcard. Those need to be kept separate or combined into one on text.

I like all my scripts kept separate though, its much more organized that way.

S
Sparkz
Sparkz
S
Can you tell me exactly which ones I can keep together and which ones I need to keep separated please?

Thank you

B
Belhifet
Belhifet
B
The wildcard on text events need to be separate because if they are in a single script mirc will only fire the first one.

If you have
ON *:TEXT:!bewbs:#: { stuff }
ON *:TEXT:*:#: { stuff }

even though the second event fires on anything, if someone types !bewbs the second on text never fires because it was already picked up by the first one.

if you had
ON *:TEXT:*:#: { stuff }
ON *:TEXT:!bewbs:#: { stuff }

Then the !bewbs event would never fire because the * event would fire first.

S
Sparkz
Sparkz
S
So anything that starts with ON*: needs to be separated to work?

Joined: Jan 2004
Posts: 1,330
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,330
Only a single text event can be triggered per file. If you need two events to trigger on a single user message, put them in separate files (or combine the events).

B
Belhifet
Belhifet
B
Its the trigger, not the user level that's important.


Link Copied to Clipboard