mIRC Home    About    Download    Register    News    Help

Print Thread
#249161 16/11/14 02:37 AM
A
AcidzDesigns
AcidzDesigns
A
I have a few scripts set up, what i want to know if there is a way that i can have different scripts for different channel, and also if a user types !join in the channel, it will join there channel and also stay in other channels.

Its for a twitch chat bot

B
Belhifet
Belhifet
B
Sigh? You can specify a specific channel in the event trigger such as
on *:text:!trigger:#specificchannel:

You can use if statements

If ($chan != specificchannel) { return }
or
If ($chan == specificchannel) { do stuff }

You can populate a list of channels to do things in via variables, tokens, ini, hash tables and check against that list before proceeding.

a !join script is easily searchable

A
AcidzDesigns
AcidzDesigns
A
Could you maybe help me create the script, im not really an expert and creating the scrpits

A
Anubisxhades
Anubisxhades
A
My suggestion for learning is to look at some code and there are some tutorials on youtube that help out with the basics. Also try looking for some of the code you want by using the search function of this website. What exactly do you want your bot to do?


Link Copied to Clipboard