![]() |
|
#31
|
|||
|
|||
|
Quote:
I have another question, I have two windows of mirc opened, one for me and one for the bot. Everytime I save my bot.ini file, a pop up msg always opens up in the mirc window wherein the normal userid is logged in, it says file 'bot' has changed, reload from disk? And I always select no. Is there a way to open just one mirc and have two window tabs in it, one for normal user with no remote script loaded and one for the bot with the bot script loaded without messing up the whole application?. Last edited by selosa; 04-09-2012 at 03:08 PM. |
|
#32
|
||||
|
||||
|
what i do is run 2 mirc instances one for my name and other for a bot, then you can have two sets of files (ini files, scripts, configurations, etc) http://forums.mirc.com/ubbthreads.ph...e/1#Post233027
if what you are doing is already that, just be sure to configure to save the files for each one in a separate place so you don't overwrite them |
|
#33
|
|||
|
|||
|
Quote:
|
|
#34
|
|||
|
|||
|
http://godsnotwheregodsnot.blogspot....ores-file.html
i cannot seem to got this to work to work as a line count script any ideas? |
|
#35
|
|||
|
|||
|
Quote:
I have this command for clearing the chat and banning/unbanning a viewer. Quote:
I wanna ask how to make the bot sends a message after the chat has been cleared or after a viewer has been banned/unbanned? Like for example sending a message to the channel that the viewer has been already unbanned from the chatroom Thanks in advance! |
|
#36
|
||||
|
||||
|
Code:
on *:TEXT:!clear:#: {
if (($nick == name1) || ($nick == name2) || ($nick isop $chan)) {
msg $chan /clear
msg $chan chat was cleared by $nick
}
else describe $chan $nick Sorry, You cannot clear the chat! :P
}
on *:TEXT:!ban*:#: {
if (($nick == name1) || ($nick == name2) || ($nick isop $chan)) {
msg $chan /ban $2
msg $chan $2 was banned by $nick
}
else describe $chan $nick Sorry, You're not allowed to use this command! :P
msg $chan $2 was banned by $nick
}
on *:TEXT:!unban*:#: {
if (($nick == name1) || ($nick == name2) || ($nick isop $chan)) {
msg $chan /unban $2
msg $chan $2 was unbanned by $nick
}
else describe $chan $nick Sorry, You're not allowed to use this command! :P
}
just remember to add the msg $chan inside the first if so that only shows in chat if the person can run that command couple of things i would change if i use that for myself: 1)you don't rellay need the * after the clear, just !clear should be ok, why you need that to work also for !clear kjhglkhkljdfhjkl ? 2) the $2- after the ban and unban means you could have more than one string, but since jtv names are just one single string you don't need it, or you could try (and fail) a non exixtent user ( !ban john doe ) Last edited by carlitosbahia; 06-08-2012 at 09:59 AM. |
|
#37
|
|||
|
|||
|
Quote:
I tested the codes. All was working good except for one thing. The $nick part doesn't shows up in the chat. Quote:
Oppps! Already figured it out, it should have space between $nick and the period. That's why it didn't recognize the $nick the first few tries I did, stupid me LOL Thanks a lot Carlitos! You, thegameroom and everyone in this thread have been a great help Last edited by selosa; 06-08-2012 at 12:08 PM. |
|
#38
|
|||
|
|||
|
Hi Guys! It's me again, I've tried searching online but failed to get one so here I am again asking help from you
Basically, I wanna know how to add on my current bot script a line that automatically unban a certain user whenever he/she gets banned/timed out either by my channel bot using the !ban command or other mods using the normal way of banning/t.o in browsers. And I have already checked the "do not show links" box on jtv settings but it doesnt seem to work. Links are still displayed on my channel. How will my channel bot do an automatic time out of 5 minutes for whoever post links on my channel? One more thing, how will a make a set of words return one channel response. For example, I want my bot to return one response to whoever says goodnight, good night, nyt, or nytie in the channel? And even if that word(s) is enclosed in a sentence would still return response from bot? Is this possible? Thanks in advance guys! Last edited by selosa; 08-06-2012 at 02:52 PM. |
|
#39
|
|||
|
|||
|
I downloaded mIRC (which I have guess I need since it has not been mention on this thread). Now what? When I enter my justin.tv channel name, I do not see my chat. What do I do? Where do I place all these codes? Do I need to do something on justin.tv to activate the bots I create? Some extremely basic information would be very helpful. Thanks
|
|
#40
|
||||
|
||||
|
Quote:
1) what steps are you following to enter your jtv channel name? how to connect to jtv http://community.justin.tv/forums/showthread.php?t=8532 2) about where to place any code, most codes go into the remotes tab of the script editor (menu tools, script editor or ALT- i would say that first you learn the basics of how to use mirc to chat only, and only then start thinking about a bot and what commands you need (also learning basics of scripting is a good idea other than just copy/paste code that you don't know what is doing) 3) there is nothing that you need to do to "activate" the bots, only limitation right now is that if the account is a new one (newer than the time of the whitelist, if you don't know what that means then your account for sure is not whitelisted) you can only use mirc at jtv at 5 channels at the same time (no total, just at a given time)
__________________
I like cheese. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|