home *** CD-ROM | disk | FTP | other *** search
/ HaCKeRz KrOnIcKLeZ 3 / HaCKeRz_KrOnIcKLeZ.iso / scriptz / oplist.txt < prev    next >
Text File  |  1996-04-23  |  2KB  |  58 lines

  1. This Addon his a part of -= FiX =- Coming soon!
  2.  
  3.  
  4. If you want someone to be In your Auto-Op/Voice list just for 
  5. one Channel (like #mircscripts) and don't want to op him in
  6. another one this addon is for you :)
  7.  
  8. ;=============PopUps|NickName==============
  9. -= Voice List =-
  10. .Voice (This Chan):/set %chanv $chan | /set %addressv $address($$1,3) | /guser 50 $$1 3 | /mode # +v $$1 | /notice $$1 2-= 4FiX 2=- 12 Voice-List of # | /writeini voice.ini %chanv $address($1,3) voice
  11. .Voice (All Chans):/guser 51 $$1 3 | /notice $$1 2-= 4FiX 2=- 12 Voice-List (All Chans)
  12. .-
  13. .Remove (This Chan):/ruser 50 $$1 3 | /mode # -v $$1 | /remini $mircdir $+ voice.ini # $address($$1,3)
  14. .Remove (All Chans):/ruser 51 $$1 3
  15. -= Op List =-
  16. .Op (This Chan):/set %chanv $chan | /set %addressv $address($$1,3) | /guser 50 $$1 3 | /mode # +o $$1 | /notice $$1 2-= 4FiX 2=- 12 Op-List of # | /writeini voice.ini %chanv $address($1,3) op
  17. .Op (All Chans):/guser 52 $$1 3 | /notice $$1 2-= 4FiX 2=- 12 Op-List (All Chans)
  18. .-
  19. .Remove (This Chan):/ruser 50 $$1 3 | mode # -o $$1 | /remini $mircdir $+ voice.ini # $address($$1,3)
  20. .Remove (All Chans):/ruser 52 $$1 3
  21.  
  22. ;=============Remote|Events================
  23. +50:ON JOIN:#:{
  24.   if ($me isop $chan) {
  25.     if ($readini voice.ini $chan $address($nick,3) == voice) { /notice $nick 2-= 4FiX 2=- 12 Voice List 3/12 $chan | mode $chan +v $nick } 
  26.     if ($readini voice.ini $chan $address($nick,3) == op) { /notice $nick 2-= 4FiX 2=- 12 Op List 3/12 $chan | mode $chan +o $nick } 
  27.     else { halt }
  28.   }
  29. }
  30. +51:ON JOIN:# {
  31.   if ($me isop $chan) {
  32.     notice 2-= 4FiX 2=- 12 Voice List 3/12 All Chans
  33.     mode $chan +v $nick
  34.   }
  35.   else { halt }
  36. }
  37. +52:ON JOIN:# {
  38.   if ($me isop $chan) {
  39.     notice 2-= 4FiX 2=- 12 Op List 3/12 All Chans
  40.     mode $chan +o $nick
  41.   }
  42.   else { halt }
  43. }
  44.  
  45.  
  46. If you want this addon to work (sure you want ;)) just creat a file called
  47. voice.ini in the directory of you mIRC.
  48.  
  49.  
  50. That's all :)
  51.  
  52. If you want me to help you with your script just ask me in #mircscripts 
  53. on Undernet!!(My nickname is JAP)
  54.  
  55. Enjoy!
  56.  
  57. JAP<f_i_x@hotmail>
  58.