Guest Glock Posted August 11, 2013 Report Share Posted August 11, 2013 (edited) Does anyone have anything or know a way to have the bot do a room close? Example: <user would join chatroom on mirc> - <user would type /close> It would then do the following all at once <send message to room> <devoice/deop all users> <clear access list> <ban access *!*@gate*> <change room modes to +hmtinwWl 1> <change topic> <clear ownerkey and hostkey> <clear onjoin and onpart> - then at the end it will automatically leave the chatroom If anyone knows how to do this please feel free to post it here Edited August 13, 2013 by Glock Link to comment Share on other sites More sharing options...
Paige Posted August 11, 2013 Report Share Posted August 11, 2013 ooo, they were the days!! I don't think you,ll get an answer to that, room takes/closes are frowned upon these days, since the demise of msn chat. Link to comment Share on other sites More sharing options...
Groovyaxis2 Posted August 12, 2013 Report Share Posted August 12, 2013 It depends why you are asking for this.. IF you are after a staff tool that does this then i may have what your looking for. Link to comment Share on other sites More sharing options...
err0r Posted August 12, 2013 Report Share Posted August 12, 2013 This is basically how to do it.. Note this is untested. You may have to play with it a bit, especially the order. Been a long time since i dealt with coding for MSN alias closeroom { msg $active This room is now closed for violations of the code of conduct access $active CLEAR access $active ADD DENY *!*@* 0 var %a = 1 while ($nick($active,%a)) { var %nn = $nick($active,%a) if (%nn != $me) { if (%nn isop $active) { mode $active -qov %nn %nn %nn } else { mode $active -v %nn } } inc %a } prop $active ownerkey : $+ closed $+ $rand(A,Z) $+ ^ $+ $rand(11,99) $+ $rand(a,z) $+ & $+ $rand(111,999) $+ _ $+ $rand(a,z) $+ $rand(AAA,ZZZ) $+ & $+ $rand(a,z) $+ $rand(1,9) prop $active hostkey : $+ closed $+ $rand(A,Z) $+ ^ $+ $rand(11,99) $+ $rand(a,z) $+ & $+ $rand(111,999) $+ _ $+ $rand(a,z) $+ $rand(AAA,ZZZ) $+ & $+ $rand(a,z) $+ $rand(1,9) mode $active +hmiwWl 1 topic $active closed } Link to comment Share on other sites More sharing options...
Groovyaxis2 Posted August 12, 2013 Report Share Posted August 12, 2013 Thanks err0r (Y) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now