chat clear Justin.tv

Platform:  mIRC
Published  Oct 10, 2010
Updated  Oct 15, 2010
This Command is made For Justin.tv User's ONLY!

This is How it Works

Commands
---------------------
!chatclear

-----------------------------------
EX:

<You> !chatclear
<BOT> xbox_gamer1 Has Cleared the chatroom!
--------------------------------------------

Well there you have it my Chatclear in command ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;Chat clear;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;; by xbox_gamer1;;;;;
on *:TEXT:!chatclear:#:{
msg $chan /clear
msg $chan $nick Has Cleared the chatroom!
}


---------------------------------------------------
Chat Clear
MODS ONLY!!


on *:TEXT:!chatclear:#:{
if ($nick isop #) {
msg $chan /clear
msg $chan $nick Has Cleared the chatroom!
else { .notice $nick you not authorized to use this command } halt
}

Comments

Sign in to comment.
blackvenomm666   -  Jun 05, 2011
Code
 
 Respond  
blackvenomm666   -  Dec 23, 2010
bigmacbook this code is meant for a certain site and will prolly only work on that site. pretty gay but meh
 Respond  
Bigmacbook   -  Dec 23, 2010
I can't get this code to work!
 Respond  
blackvenomm666   -  Oct 29, 2010
for them to stop killing all my cats hmmph
 Respond  
Dark|   -  Oct 29, 2010
what do you want from a group of japanese people that run a perlbot? lol
 Respond  
blackvenomm666   -  Oct 29, 2010
the point is is if the bot is on and people try to connect with an irc but arent in the allow list via their ip they won't be on the site in the first place
 Respond  
Dark|   -  Oct 29, 2010
welll they have a bot that just sits there i think it checks ips and other stuff..but a few flooders came and flooded / spammed it out pm spams i guess...
 Respond  
blackvenomm666   -  Oct 29, 2010
you could create a bot that does it by ip instead of pw checks the persons ip compares it to the ip's in the allow list and if they are in the allow list the person can get on on irc if not they can't get on
 Respond  
Dark|   -  Oct 29, 2010
they changed it a few times this time they just gave up :p
 Respond  
blackvenomm666   -  Oct 29, 2010
change the password? not that it matters if someone wants on they can go around it its called spoofing
 Respond  
Dark|   -  Oct 29, 2010
thats what they did lol but one of there admins posted it by mistake
 Respond  
blackvenomm666   -  Oct 29, 2010
you can set it so irc can't be used without a password for it
 Respond  
Dark|   -  Oct 29, 2010
Kinda sounds like IRChon (my server that i use) its a IPhone app {irc client} anyone can join tho on mIRC but the owners dont like it
 Respond  
blackvenomm666   -  Oct 29, 2010
anyone can join. to join you go to the site via web join up get permission blablabla they add you to the whitelist or w.e then you can go on on irc like i said its stupid and they should just go to a real server
 Respond  
Dark|   -  Oct 29, 2010
Silly qustion : If they're a real IRC server..why not let anymore join? as you said you'd get waitlisted, seems retarded to me.
 Respond  
blackvenomm666   -  Oct 18, 2010
majishine i know all about justin.tv i was there when it first started the person who was running it came to me and a friend asking for help do not tell me im uninformed tyvm i i feel that the site is retarded. and as i stated if someone who knows what they are doing wants in they will get in the site whitelisted or not
 Respond  
Majishine   -  Oct 18, 2010
[quote="blackvenomm666"]kinda retarded ya'll should start using a real chat[/quote]

If you took the time to find out. You would see that Justin.tv isn't just a chat room site. It's a streaming video site much like uStream where you can watch live video being streamed by users. Anything from webcams to videogames to television and more. Each "channel" has it's own chat room, which Justin.tv hosts with IRC servers they own, but uses a Javaapplet to put the chat onto the same page as the video.

It's not just a chat room and the users usually have no control over having access to their chatrooms with IRC, because the use of IRC programs with their servers are blocked unless you apply to their "whitelist" and get accepted.

Please refrain from making uninformed insults in the future.
 Respond  
napa182   -  Oct 15, 2010
blackvenomm666 Wrote:
did i write the isop part correctly? for the other way i posted to do it


um if it's like...
Code
 
 Respond  
blackvenomm666   -  Oct 15, 2010
true very true napa haha therer its fixed. did i write the isop part correctly? for the other way i posted to do it
 Respond  
napa182   -  Oct 15, 2010
o.0
blackvenomm666 Wrote:
has to be added to the popups menu under nickbar

um if you are going to add a menu then why not make it so you can put the whole snippet into remotes instead of one part here an the other there.
Code
 
 Respond  
blackvenomm666   -  Oct 15, 2010
example of your script with a userlist is
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;Chat clear;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;; by xbox_gamer1;;;;;
menu channel {
User Access
..SafeList user Nick:auser UserSafe $$?="SafeList What Nick?"
..UnSafeList user Nick:ruser UserSafe $$?"UnSafeList What Nick?"
..SafeList control Nick:auser ControlSafe $$?="SafeList What Nick?"
..UnSafeList control Nick:ruser ControlSafe $$?"UnSafeList What Nick?"
}
on *:TEXT:!chatclear:#:{
if ($level($nick) = userSafe) {
msg $chan /clear
msg $chan $nick Has Cleared the chatroom!
else { .notice $nick you are not authorized to use this command
}
}
}
On *:Text:*!adcontrolUser*:#:{
if ($level($nick) = controlSafe) {
set %user $2
.notice nick1,2,3 $2 Is Now set.
halt
}
}
On *:Text:*!decontrolUser*:#:{
if ($level($nick) = controlSafe) {
unset %user $2
.notice nick1,2,3 $2 Is Now unset.
halt
}
}
On *:Text:*!adUser*:#:{
if ($level($nick) = userSafe) {
set %user $2
.notice nick1,2,3 $2 Is Now set.
halt
}
}
On *:Text:*!deUser*:#:{
if ($level($nick) = userSafe) {
unset %user $2
.notice nick1,2,3 $2 Is Now unset.
halt
}
}
the person hosting this has to first go to saflist add their nick as user safe then add their nick as control safe from there they wont need to access that pannel anymore
 Respond  
blackvenomm666   -  Oct 15, 2010
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;Chat clear;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;; by xbox_gamer1;;;;;
on *:TEXT:!chatclear:#:{
if ($nick isop #) {
msg $chan /clear
msg $chan $nick Has Cleared the chatroom!
else { .notice $nick you are not authorized to use this command } halt
}

i beleive that should do it or you could add a user list to it and have one person set in it at first so they can add the people they want using it to the user list
 Respond  
xbox_gamer1   -  Oct 15, 2010
well i do not know how to make it for mods only......
 Respond  
yankneck   -  Oct 15, 2010
Majishine... your right you cant type /clear in mirc for justin.tv but if you type .clear it will work... So this script should actually be (msg $chan .clear) for it to work correctly. Also... xbox_gamer why would you want a script where anyone can clear your chat? Shouldn't this be a mods only command?
 Respond  
blackvenomm666   -  Oct 13, 2010
kinda retarded ya'll should start using a real chat
 Respond  
meluygas   -  Oct 13, 2010
bueno veo q no pueden ayudarme yo tengo un bot en justin llamado meluygas3_ si quieren vicitenlo igualmete gracias por contestar
preguntaba lo del redirectin por q justin lo cambio y ya no entra a los chat solo ...bueno saludos :)
 Respond  
Majishine   -  Oct 13, 2010
Well napa, Justin.tv hosts their chat servers just like any other IRC chat, but most users access chatrooms based on which channel they are watching. On each channel page is a Javascript applet which logs them into the IRC chatroom for that channel.

However, Justin.tv does allow users who request access to connect to their IRC chat servers using IRC chat programs like mIRC.
Their Javaapplet has a command to clear the chat room for all users, which is /clear, but for some reason if your logged into their IRC servers via mIRC, the same command only clears the chat for yourself. So the snippet created is kinda needed if you wish to create a command to allow your bot to clear the Javaapplet Chat.
 Respond  
napa182   -  Oct 13, 2010
/clear is a mIRC command not a server command. So if justin.tv has their own custom made mIRC they make users download then they may have the clear command set up a bit different.
 Respond  
Known   -  Oct 12, 2010
Makes sense now, you should of said that it was on the IRC server not the actually website.
 Respond  
xbox_gamer1   -  Oct 12, 2010
thanks
majishine :)
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.