rootSektor - Auto Oper

By Aurora801 on Jan 31, 2010


|..:: root_sys-iRC v4.0.1 Beta 1 "rootSektor" Auto-Oper v1.0 Pre-beta ::..|
|..:: Made for r-iRC v2.0 (mIRC 6.35) ::...____|
___|
.. ____ ..
.. _____*_______ ..
.. ___
____________ ..
.. __
____*___________ ..
.. *****______*____ ..
.. __________*__*__ ..
.. **________ ..
.. _____
_*______ ..
.. _____
*___________ ..
.. ________**____ ..
.. ___ ..
.. ____
___ ..
.. __(Alaska Skriptz)___ ..

Goes into Remotes section. ^.^

; .. ____________________________________________________ ..
; .. ________________*_*_*_*______*_*____*_*_____________ ..
; .. _______________*_*__*_*______*_*___*_*______________ ..
; .. ______________*_*____*_*_____*_*__*_*_______________ ..
; .. _____________*_********_*____*_*_*_*________________ ..
; .. ____________*_*________*_*___*_*_*_*________________ ..
; .. ___________*_*__________*_*__*_*__*_*_______________ ..
; .. __________*_*____________*_*_*_*___*_*______________ ..
; .. _________*_*_________________*_*____*_*_____________ ..
; .. ________*_*__________________*_*_____*_*____________ ..
; .. ______________________________________*_*___________ ..
; .. _______________________________________*_*__________ ..
; .. __________________(Alaska Skriptz)___________________ ..

on *:LOAD: {
 echo -a You are using...
 echo -a rootSektor - Auto-Oper v1.0 Pre-Beta
 echo -a By (Alaska Skriptz)
}

on *:CONNECT: {
 if (($AK.getoper($server).server) || ($AK.Getoper($server).network)) { scid $cid $MyOper($server) }
}

alias MakeOper {
 writeini MyOper.ini $server Password $2
 writeini MyOper.ini $server Login $1
 if ($network) { writeini MyOper.ini All Network $addtok($MyOpNetworks,$network,9) | echo -a Network Auto-Oper Added. }
 writeini MyOper.ini All Server $addtok($MyOperServers,$server,9)
 echo -a Server Auto-Oper added.
}

alias -l AK.oper { return $readini(MyOper.ini,$1,$prop) }
alias -l MyOper { return oper $readini(MyOper.ini,$1,Login) $readini(MyOper.ini,$1,Password) }
alias -l AK.Getoper {
 if ($prop) {
   if ($prop == server) {
    if ($1 isin $readini(MyOper.ini,$iif($2,$2,All),Server)) { return $true }
    else { return $false }
   }
  elseif (($prop == network) || ($prop == net)) {
   if ($1 isin $readini(MyOper.ini,$iif($2,$2,All),Network)) { return $true }
   else { return $false }
   }
  elseif (($prop == Oper) || ($prop == Login)) { return $iif($readini(MyOper.ini,$1,Login),$v1,$null) }
  elseif (($prop == Pass) || ($prop == Password) { return $iif($readini(MyOper.ini,$1,Password),$v1,$null) }
  }

elseif (!$prop) {
 if ($1) && ($2) {
  if ($readini(MyOper.ini,$1,$2) { return $true }
  else { return $false }
  }
 else { return $null | echo -a Error: Not enough parameters. }
 }
}

alias -l AKroot {
say ____________________________________________________
say ________________*_*_*_*______*_*____*_*_____________
say _______________*_*__*_*______*_*___*_*______________
say ______________*_*____*_*_____*_*__*_*_______________
say _____________*_********_*____*_*_*_*________________
say ____________*_*________*_*___*_*_*_*________________
say ___________*_*__________*_*__*_*__*_*_______________
say __________*_*____________*_*_*_*___*_*______________
say _________*_*_________________*_*____*_*_____________
say ________*_*__________________*_*_____*_*____________
say ______________________________________*_*___________
say _______________________________________*_*__________
say (Alaska Skriptz)
}
alias Skriptz { AKroot }

menu * {
 (Alaska Skriptz)
 .Info
 .. ____________________________________________________
 .. ________________*_*_*_*______*_*____*_*_____________
 .. _______________*_*__*_*______*_*___*_*______________
 .. ______________*_*____*_*_____*_*__*_*_______________
 .. _____________*_********_*____*_*_*_*________________
 .. ____________*_*________*_*___*_*_*_*________________
 .. ___________*_*__________*_*__*_*__*_*_______________
 .. __________*_*____________*_*_*_*___*_*______________
 .. _________*_*_________________*_*____*_*_____________
 .. ________*_*__________________*_*_____*_*____________
 .. ______________________________________*_*___________
 .. _______________________________________*_*__________
 .. (Alaska Skriptz)
 . -
 .Add Entry:MakeOper $$?"Login Password?"
}

menu channel,query {
 (Alaska Skriptz)
 .-
 .Advertise:/say I am using rootSektor - Auto-Oper v1.0 Pre-Beta by (Alaska Skriptz)
}

Comments

Sign in to comment.
BigSteve   -  Jan 28, 2011

O.o SPAM much try this lol

 ON *:CONNECT: {
  if ($readini(operlogins.ini,details,$network)) { oper $readini(operlogins.ini,details,$network) }
}
menu * {
.Oper Logins
..Add Oper Logins: writeini operlogins.ini details $network $$?"Username Password"
..Del Oper Login: remini operlogins.ini details $$?"Network to delete"
} 

number one this doesnt spam any one
Thanks to PuNkTuReD for helping me with that script ages ago... WORKS GREAT DUDE :D

NOTE could do it with $server instead of $network dependant on where you speak and if it has a network ID

 Respond  
sunslayer   -  Jan 27, 2011

@_allen $writeini is an identifier (non-existing one albeit), /writeini is a command

 Respond  
_allen   -  Jan 27, 2011

Bug

alias MakeOper {
writeini MyOper.ini $server Password $2
writeini MyOper.ini $server Login $1
if ($network) { writeini MyOper.ini All Network $addtok($MyOpNetworks,$network,9) | echo -a Network Auto-Oper Added. }
writeini MyOper.ini All Server $addtok($MyOperServers,$server,9)
echo -a Server Auto-Oper added.
}

on that you need $writeini
so it will look like this

alias MakeOper {
$writeini MyOper.ini $server Password $2
$writeini MyOper.ini $server Login $1
if ($network) { writeini MyOper.ini All Network $addtok($MyOpNetworks,$network,9) | echo -a Network Auto-Oper Added. }
writeini MyOper.ini All Server $addtok($MyOperServers,$server,9)
echo -a Server Auto-Oper added.
}

 Respond  
Banana-Jamma   -  Mar 15, 2010

Aurora Rocks. <3

 Respond  
Jethro   -  Feb 07, 2010

Take it easy, DICE, and have a good one. -:)

 Respond  
DICE   -  Feb 07, 2010

Jethro_ i was straight forward i told straight from the begining the signiture is more of a spam
nobody in their right mind would wana use a script that would avertise such a big signiture on any irc channel.
the code it self is cool to me theres nothing special about it i do my own coding and no i do no share my code unless its with my best friends on irc
all i was mearly stating is exactly what Gummo said too much spam
but anyhow this is a pointless argument ;) have a good day

 Respond  
DICE   -  Feb 07, 2010

Thx Gummo you hit the Spot
Thx

 Respond  
Jethro   -  Feb 07, 2010

Generally speaking, if people have a constructive criticism to make, they should make one clearly and straightforwardly...rather than make a hint or rhetorical signification of what others have made for their codes. There's no egotism involved here unless you're rather insecure about your own comments on someone's script.

 Respond  
Gummo   -  Feb 07, 2010

It is true that DICE never even suggested that you didn't make this script, but then he moved onto further comments which made less and less sense until this last one. I believe he means people who are opers should be smart enough to not need this.

 Respond  
DICE   -  Feb 07, 2010

Ou and One More Thing i didnt accuse anybody of wrong doing i mearly stated that if you had less spam ppl would use more your script thats all
so in other words am actually giving some tips but i guess your ego is to proud to notice that

 Respond  
DICE   -  Feb 07, 2010

Lol
what ever rocks your boat
look i didnt say your code is wrong or right all i said is ppl that are server admins and dont know irc commands to do their own code then they dont deserver the status for one two who cares if its your company if i wana use it i would to use it with out having to spam if you had to put (amsg scripted by AK Skriptz) i would accept that as its clean and still representing your signiture and last but not least yes i can modify
but why the hell should in it will take me less time to code one then to copy and delete this ........ ;)
anyhow good like with the spamming am sure you get alot off ppl using your scripts
;)

 Respond  
Jethro   -  Feb 05, 2010

I agree. If you're going to accuse someone of wrongdoing, you should have proof to prove he or she is at fault for taking people's work as their own.

 Respond  
Aurora801   -  Feb 04, 2010

DICE: I made this script. If you have proof that falsifies this, then show me. AK Skriptz is my company, btw.

 Respond  
Jethro   -  Feb 04, 2010

Looks like DICE is pissed off at the "logo"...but you should be happy since every one of them can easily be removed from the script itself.

 Respond  
DICE   -  Feb 04, 2010

Oh And I For Got To Mention Something
Stupid Is the !@# Thats Got Oper Adminship That Uses This Type Of Script
He Should have a bit more brains then to use other ppls stuff (didnt wana say crap Just Incase He Gets Insulted)

 Respond  
DICE   -  Feb 04, 2010

Gummo I Totaly Agree With You The Spam Is just @#$#%@#^@#^@#%^@#%!@
He Might As Well Just Put
Script
just Type /spam
alias spam {
amsg ____
amsg _____*_______
amsg ___
____________
amsg __
____*___________
amsg *****______*____
amsg __________*__*__
amsg **________
amsg _____
_*______
amsg _____
*___________
amsg ________**____
amsg ___
amsg ____
___
amsg (Alaska Skriptz)
}

 Respond  
Aurora801   -  Feb 01, 2010

I'm sorry, but how is it spamming? It's a part of my IRC package, so I show that.

 Respond  
Gummo   -  Feb 01, 2010

You know, version 1.0 stands for the first version which is past beta, not pre-beta.
..and wow, spam in your script much?

 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.