Auto-Voice and op

By bps19882006 on Oct 08, 2007

this is a basic auto voice and op script with a both mode function as well. i might adda counter later on idk. if u would like to see improvements on this script let me kno lol this was a quickly typed script

menu Channel,Nicklist {
  Auto_Op/Auto_Voice
  ..$iif(%autovo == on, $style(3),$style(0)) On:set %autovo on
  ..$iif(%autovo == off, $style(3),$style(0)) Off:set %autovo off
  ..$iif(%auto == op, $style(3),$style(0)) Op Mode:set %auto op
  ..$iif(%auto == voice, $style(3),$style(0)) Voice Mode:set %auto voice
  ..$iif(%auto == both, $style(3),$style(0)) Both:set %auto both
}
on *:JOIN:#:{
  if (%autovo == on) {
    if (%auto == op) {
      mode $chan +o $nick
      notice $nick (Op Mode) you have been voiced (op)
    }
    if (%auto == voice) {
      mode $chan +v $nick
      notice $nick (Voice Mode) you have been voiced(voice)
    }
    if (%auto == both) {
      mode $chan +v $nick
      mode $chan +o $nick
      notice $nick (Both Mode) you have been oped and voiced
    }
  }
}

Comments

Sign in to comment.
Anti   -  Oct 11, 2007

rofl.

 Respond  
bps19882006   -  Oct 08, 2007

LOL brad.. aint u supposed to be upl,oading something? LOLOLOLOLOL thanks for ur incite lol

 Respond  
Zurn   -  Oct 08, 2007

A few little hiccup\'s but i see hardly anything wrong with it ;P

 Respond  
bps19882006   -  Oct 08, 2007

yea thats true... ill see bout making some improvements at a later time and lets see wat the ppl think...great incite man ty

 Respond  
guest598594   -  Oct 08, 2007

actually since its only two, i think ud be better off with just doing mode $chan +vo $nick $nick

 Respond  
bps19882006   -  Oct 08, 2007

o ok thx man appreciate that incite i see wat ur saying now lol

 Respond  
guest598594   -  Oct 08, 2007

sorry, make that

mode $chan +vo $str($nick $chr(32),2)
 Respond  
guest598594   -  Oct 08, 2007
      mode $chan +v $nick
      mode $chan +o $nick

u can do

mode $chan +vo $str($nick,2)

(same thing as \"mode $chan +vo $nick $nick)

 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.