Userlist Script

By xplo on Sep 29, 2008

This Script is self explained, its a acces levels script, if you are oped on a channel you will see the ADD and DEL options when you right click on a nick.
if you are not oped you will not see the options.

this script use .ini files when you unload the script. the files are deleted from your mirc directory.

Now Have fun and enjoy :)

menu nicklist { 
  $iif($me isop $chan,User List)
  .Add
  ..Voice: writeini voice.ini $1 # $address($1,2) | echo -a 4 $1 added to Voice list for #  | mode # +v $$1 | notice $$1 you just got added to my auto voice list in # Type .help to see my commands available to you
  ..Op: writeini op.ini $1 # $address($1,2) | echo -a 4 $1 added to Op list for # | mode # +o $$1 | notice $$1 you just got added to my auto op list in # Type .help to see my commands available to you
  .Del
  ..Voice: remini voice.ini $1 # $address($1,2) | echo -a 4 $1 removed from Voice list for # | mode $chan -v $$1 | notice $$1 you just got deleted from my auto voice list in #  
  ..Op: remini op.ini $1 # $address($1,2) | echo -a 4 $1 removed from Op list for # | mode $chan -o $$1 | notice $$1 you just got deleted from my auto op list in # 
} 
on *:text:*:#:{
  if (  $readini(voice.ini,$nick,$chan) == $address($nick,2)  ) {
    if (  $strip($1) == .k  ) { notice $nick Yo do Not Have Proper Access To Use .k  }
    if (  $strip($1) == .kb  ) { notice $nick Yo do Not Have Proper Access To Use .kb  }
    if (  $strip($1) == .v  ) { mode # +v $nick }
    if (  $strip($1) == .dv  ) { mode # -v $nick }
    if (  $strip($1) == .i  ) { invite $2 # | msg # Inviting $2 in # }
    if (  $strip($1) == .t  ) { topic # $2- (From: $nick $+ ) }
    if (  $strip($1) == .st  ) { notice $nick You do NOT Have proper access to use .st }
    if (  $strip($1) == .me  ) { notice $nick Your Access Level is VOICE }

  }
  elseif ( $readini(op.ini,$nick,$chan) == $address($nick,2) ) {
    if (  $strip($1) == .k  ) { kick # $2 $3- }
    if (  $strip($1) == .kb  ) { ban -k # $2 2 $iif(!$3,No reason,$3-) (From: $nick $+ ) }
    if (  $regex($strip($1),/^[+-][vo]$/)  ) { mode # $1 $iif(!$2,$nick,$2) }
    if (  $strip($1) == .i  ) { invite $2 # | msg # Inviting $2 in # }
    if (  $strip($1) == .t  ) { topic # $2- (From: $nick $+ ) }
    if (  $strip($1) == .o  ) { mode # +o $nick }
    if (  $strip($1) == .do  ) { mode # -o $nick }
    if (  $strip($1) == .st  ) { sync }
    if (  $strip($1) == .me  ) { notice $nick Your Access Level is OP }
  }
}
on *:JOIN:#:{ 
  if ($readini(voice.ini,$nick,$chan) == $address($nick,2)) { mode # +v $nick } 
  if ($readini(op.ini,$nick,$chan) == $address($nick,2)) { mode # +o $nick } 
} 

alias sync {
  set %topic $chan(#).topic
  topic # Sync..
  .timer 1 2 topic # %topic
  .timer 1 3 unset %topic
}

on *:load: { 
  echo 12 -a You Have Just Loaded xplorer's Access list Script 
  echo 12 -a For help join #mircscripting on Undernet
  echo 12 -a You don't need to edit anything, Right click on a nick (You Need to be op To see the menu)
  echo 12 -a Enjoy :)
}
on *:unload: { 
  remove -b $mircdirop.ini
  remove -b $mircdirvoice.ini
  echo 12 -a You Just Unloaded xplorer's Access list Script
  echo 12 -a All ini files are deleted and this script will be deleted in 30 seconds.
  .timer 1 30 remove -b $mircdir $+ $script
}

i just edited the on join event so there was just one, i dunno what happened but now you can't have 2 join events in the same file. w/e

Comments

Sign in to comment.
xplo   -  Feb 19, 2010

9months later hahaha

 Respond  
xplo   -  Feb 19, 2010

lol

 Respond  
napalm`   -  May 13, 2009

Despite the fact that napalm` has a life, when it comes to mIRC, he can still code you all into the ground. :)

 Respond  
Abtehi   -  May 07, 2009

napalm` got laid with polish chicks and messes his hair.

 Respond  
napalm`   -  Oct 04, 2008

Tough love baby, tough love.

 Respond  
Bullet_Dodger   -  Oct 03, 2008

Jordy = Curly n00b

_>

 Respond  
Blitzjager   -  Oct 03, 2008

Maybe you're too n00by for the n00bs list?

 Respond  
a careful warchild   -  Oct 03, 2008

lmfao woooooooooo im not there :D:D:D:D:D

i lol'd at bullet dodgers description from you napa ;)

 Respond  
napa182   -  Oct 03, 2008

EL = Lazy n00b
Neptune = Leech Boy n00b
Eugene = Nub
napa182 = Over do it n00b
napalm` = Harsh criticism n00b
Bullet_Dodger = Ripper n00b
and the list goes on

 Respond  
EL   -  Oct 03, 2008

Rofl i love how ppl pick on hawkee coders yet comment everyday and post codes ...hypocrits MUCH don't make me get straight up gangsta up in hurr *IRC gang signs;p ROFL n00bs we all are fricken n00bs.`-.-´

 Respond  
xplo   -  Oct 03, 2008

HAHAHAHAHAHA

 Respond  
Bullet_Dodger   -  Oct 03, 2008

no its a wig

no hairs that gay

 Respond  
KronicDreamer   -  Oct 02, 2008

Xplorer has one rolled up in his pic :P lmao

and that really is napalms hair... dont let him lie!

 Respond  
Bullet_Dodger   -  Oct 02, 2008

Yes Xpl0reR
What u mean your not?

FREAK

 Respond  
xplo   -  Oct 02, 2008

Darn... some of you guys are on Drugs :D

 Respond  
Bullet_Dodger   -  Oct 02, 2008

'.'

 Respond  
napalm`   -  Oct 02, 2008

I R SPECHULLLLLLZ

I R LYK HAF THUH PPLZ THET POSTE LEET COADEZ ON HAWKEEEEEE

 Respond  
xplo   -  Oct 01, 2008

LMAO.

 Respond  
EL   -  Oct 01, 2008

ROFL wtf i thought that was your REAL hair mayne ,just figured you was a lil speshal;p.`-.-´

 Respond  
napalm`   -  Oct 01, 2008

LOL

He wasn't drinking, he was just participating in the shenanigans. :P

 Respond  
napa182   -  Oct 01, 2008

napalm` said:

This particular winery requested all the tasters wear wigs while trying their wine.

The limo driver's wig was an afro the size of a Buick.

so the limo driver was drinking as well =/ what a crapy limo driver.

 Respond  
napalm`   -  Oct 01, 2008

The picture was taken at a Winery in Paso Robles, California. At the time this picture was taken, we had already been to five other wineries and I was quite blitzed. This particular winery requested all the tasters wear wigs while trying their wine. So, I did.

The limo driver's wig was an afro the size of a Buick.

 Respond  
Bullet_Dodger   -  Oct 01, 2008

ROFL

 Respond  
xplo   -  Oct 01, 2008

your hair ? :o)

 Respond  
napalm`   -  Sep 30, 2008

Ugly and inefficient.

 Respond  
Vox91   -  Sep 30, 2008

there are still much more better then this one ;)
but still 6/10

 Respond  
xplo   -  Sep 29, 2008

true, but not all of them are channel specific for specific nicks and using ini files.

 Respond  
Bullet_Dodger   -  Sep 29, 2008

Its a good script seeing as there is alot of these being posted around
5/10

 Respond  
xplo   -  Sep 29, 2008

If you have some commands that you would see in this please reply in this comment window.

Thank you Napa For your help on this one. (He made the .ini system :p)

 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.