Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computing > Alt Irc Mirc Scripts > Need Help To Re...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 218 of 290
Post > Topic >>

Need Help To Re-Word This Script

by "Casey" <123@[EMAIL PROTECTED] > May 8, 2005 at 03:47 PM

I am using the IRCXpro Server.   With Admin access you can change the modes

from outside the room and also don't have to be an op in the room to
change 
the modes either


This is a Room Ban to ban and kick the person from the room with the 
reason --- the bot is not in the room and sets mode +b *!*@[EMAIL PROTECTED]
 from
outside 
the room and then kicks the person ---- /msg BOT roomban #room person 
reason ---- $2 is the room -- $3 is the person -- $4- is the reason


I want to turn this into a ban and kick from the server - How Do I Re-Word

this to take out the room name and the ban and kick from the room to turn
it 
into ban and kick from the server ? --- with the Re-Wording to have it to 
type in either the person's name or their hostname to ban them,   on the 
person's name to ban it using  *!*@[EMAIL PROTECTED]
 and the kill will be to remove all

their connections on their *!*@[EMAIL PROTECTED]
 commands to ban are
KLINE  name or mask :reason ---- KLINE Casey :reason -- KLINE *!*@[EMAIL PROTECTED]
 
:reason

and then to remove them from the server is
KILL name or mask :reason ---- KILL Casey :reason -- KILL *!*@[EMAIL PROTECTED]
 :reason

to remove the ban
UNKLINE name or mask



on OP:TEXT:ROOMBAN *:?:{
  set $+(%,rb.nick,$$3) $3
  set $+(%,rb.chan,$3) $$2
  set $+(%,rb.reason,$3) $4-
  userhost $3
  closemsg $nick
}



raw 302:*:{ var %n = $($+(%,rb.nick,$gettok($2,1,61)),2),%c = 
$($+(%,rb.chan,%n),2)
  if ($gettok($2,1,61) == %n) { mode %c +b $+(*!*@[EMAIL PROTECTED]
($2,2,64))
    kick %c %n $($+(%,rb.reason,%n),2)
    unset %rb.*
  }
}





--- Casey ---
 




 2 Posts in Topic:
Need Help To Re-Word This Script
"Casey" <123  2005-05-08 15:47:04 
Re: Need Help To Re-Word This Script
"Master Jedi" &  2005-05-08 22:49:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 3:09:47 CDT 2008.