This Command is made For Justin.tv User's ONLY!
This is How it Works
!chatclear
EX:
!chatclear xbox_gamer1 Has Cleared the chatroom! -------------------------------------------- Well there you have it my Chatclear in command ```mirc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;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 } ```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
[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.
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.
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?"
}
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;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
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?
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.