Popup System v1.0

By DeathRyder082 on Aug 01, 2005

As you can now tell I like popups. Anyways I'm not admin on the servers I go to so I wasn't able to test the Admin Controls. But other than that it seems to work fine. Please leave feedback or anything that you think I should add or change.

;-|Popup-System-v1.0|-
;By DeathRyder082
;DeathRyder082@yahoo.com

menu nicklist {
 -|NickList-Popups|-
 .Admin Control
 ..AdminKick:/setoper $$1 -admin | /kick # $$1 Admin Kick | /setoper $$1 +admin
 ...Kill
 ...Kill:/kill $$1
 ...Kill(why):/kill $$1 $$?="Reason:"
 ..Shun
 ...AddShun:/shun $$1
 ...RemoveShun:/shun - $+ $$1
 ..K-Line
 ...AddK-line:/kline $address($$1,4)
 ...AddK-line (why):/kline $address($$1,4) $$?="reason"
 ...Remove K-line:/unkline $address($$?="who?",4)
 ..Akill
 ...AddAkill:/akill $address($$1,4)
 ...AddAkill (why):/akill $address($$1,4) $$?="reason"
 ...Remove Akill:/rakill $address($$?="who?",4)
 ..Temp Admin
 ...AddAdmin:/setoper $$1 +admin
 ...DelAdmin:/setoper $$1 -admin
 ..Perm Admin
 ...AddAdmin:/services set $$1 admin on | /notice $$1 You where just Given Perm Admin
 ...DelAdmin:/services set $$1 admin off
 ..Temp IRCop
 ...AddIcrop:/setoper $$1 +ircop
 ...DelIcrop:/setoper $$1 -ircop
 ..Perm IRCop
 ...AddIRCop:/services set $$1 ircop on | /notice $$1 You where just Given Perm IRCop
 ...DelIRCop:/services set $$1 ircop off
 .Op Control
 ..Op:/mode # +o $$1
 ..Op/Devoice:/mode # +o-v $$1
 ..Deop:/mode # -o $$1
 ..Deop/Voice:/mode # -o+v $$1
 ..Voice:/mode # +v $$1
 ..Devoice:/mode # -v $$1
 ..Quiet:/mode # +q $$1
 ..Unquiet:/mode # -q $$1
 .Kicks 
 ..Kick:/kick $$1 $$?="Reson For Kick"
 ..Kick/Bann:/kick $$1 $$?="Reson For Kick" | /ban # $1
 .Bans
 ..Ban:/ban # $1 | /msg $chan $$1 Has been banned from $chan
 ..BanDomain:/ban # $nick 3 | /msg $chan $$1 Has been banned from $chan
 ..UnBan:/mode # -b $$1 | /msg $chan $$1 Has been unbanned from $chan
 .Ignore/UnIgnore
 ..Ignore:/ignore $$1 1
 ..Unignore:/ignore -r $$1 1
 .CTCP
 ..Ping:/ctcp $$1 ping
 ..Time:/ctcp $$1 time
 ..Version:/ctcp $$1 version
 .DCC
 ..Send:/dcc send $$1
 ..Chat:/dcc chat $$1
 .Info:/uwho $1
 .Whois:/whois $$1
 .Query:/query $$1
 .Entertainment
 ..Slap1:/me Slaps $$1 with a large trout
 ..Slap2:/me Slaps $$1 to the ground
 ..Slap3:/me Bitch Slaps $$1 
 ..Slap4:/me Slaps $$1 | /time 1 5 /msg $chan How you like that now?
 ..Slap5:/me Slaps $$1 with a large bag of cow shit
}
menu channel {
 -|Channel-Popups|-
 .Famous Benjamin Franklin Quotes
 ..BenjaminFranklin01:/msg $chan Remember that time is money. -Benjamin Franklin
 ..BenjaminFranklin02:/msg $chan Little strokes fell great oaks. -Benjamin Franklin
 ..BenjaminFranklin03:/msg $chan Plough deep while sluggards sleep. -Benjamin Franklin
 ..BenjaminFranklin04:/msg $chan God helps them that help themselves. -Benjamin Franklin
 ..BenjaminFranklin05:/msg $chan He that goes a borrowing goes a sorrowing. -Benjamin Franklin
 ..BenjaminFranklin06:/msg $chan There never was a good war or a bad peace. -Benjamin Franklin
 ..BenjaminFranklin07:/msg $chan It is hard for an empty bag to stand upright. -Benjamin Franklin
 ..BenjaminFranklin08:/msg $chan Never leave that till to-morrow which you can do to-day. -Benjamin Franklin
 ..BenjaminFranklin09:/msg $chan Experience keeps a dear school, but fools will learn in no other. -Benjamin Franklin
 ..BenjaminFranklin10:/msg $chan You and I were long friends: you are now my enemy, and I am yours. -Benjamin Franklin
 .Famous John F. Kennedy Quotes
 ..JFK01:/msg $chan Forgive your enemies, but never forget their names. - John F. Kennedy
 ..JFK02:/msg $chan Let us think of education as the means of developing our greatest abilities, because in each of us there is a private hope and dream which, fulfilled, can be translated into benefit for everyone and greater strength for our nation. - John F. Kennedy 
 ..JFK03:/msg $chan Liberty without learning is always in peril; learning without liberty is always in vain. - John F. Kennedy
 ..JFK04:/msg $chan The American, by nature, is optimistic. He is experimental, an inventor and a builder who builds best when called upon to build greatly. - John F. Kennedy 
 ..JFK05:/msg $chan The ancient Greek definition of happiness was the full use of your powers along lines of excellence. - John F. Kennedy
 ..JFK06:/msg $chan The great French Marshall Lyautey once asked his gardener to plant a tree. The gardener objected that the tree was slow growing and would not reach maturity for 100 years. The Marshall replied, 'In that case, there is no time to lose; plant it this afternoon!' - John F. Kennedy 
 ..JFK07:/msg $chan The time to repair the roof is when the sun is shining. - John F. Kennedy
 ..JFK08:/msg $chan There are risks and costs to a program of action. But they are far less than the long-range risks and costs of comfortable inaction. - John F. Kennedy 
 ..JFK09:/msg $chan Washington is a city of Southern efficiency and Northern charm. - John F. Kennedy
 ..JFK10:/msg $chan We must use time as a tool, not as a crutch. - John F. Kennedy
 .Stupid Quotes
 ..StupidQuote01:/msg $chan "If you're killed, you've lost a very important part of your life."-Brooke Shields
 ..StupidQuote02:/msg $chan As far as we know, our computer has never had an undetected error. - Weisert
 ..StupidQuote03:/msg $chan "A day without sunshine is like, you know, night."
 ..StupidQuote04:/msg $chan "Please provide the date of your death." -from an IRS letter 
 ..StupidQuote05:/msg $chan "I was under medication when I made the decision to burn the tapes." -Richard (Dicky) Nixon
 ..StupidQuote06:/msg $chan We've got to pause and ask ourselves: How much clean air do we need?" -Lee Iacocca
 ..StupidQuote07:/msg $chan "A verbal contract is not worth the paper it's written on." -Samuel Goldwyn
 ..StupidQuote08:/msg $chan Helpful Warnings: "CAUTION: Knife is very sharp. Keep out of children"
 ..StupidQuote09:/msg $chan "The people in the Navy look on motherhood as being compatible with being a woman." -Rear Admiral James R. Hogg
 ..StupidQuote10:/msg $chan "We apologize for the error in last week's paper in which we stated that Mr. Arnold Dogbody was a defective in the police force. We meant, of course, that Mr. Dogbody is a detective in the police farce." -Correction notice in the Ely Standard, a British newspaper
 ..StupidQuote11:/msg $chan "Caution: Cape does not enable user to fly." -Batman costume warning label
 ..StupidQuote12:/msg $chan "The private enterprise system indicates that some people have higher incomes than others." -Gerry Brown 
 ..StupidQuote13:/msg $chan "I have opinions of my own --strong opinions-- but I don't always agree with them." -George Bush | /timer 1 4 /msg $chan Yes, it's sad to say he's our president.
 ..StupidQuote14:/msg $chan "I was provided with addtional input that was radically different from the truth. I assisted in furthering that version." -Colonel Oliver North, from his Iran-Contra testimony
 ..StupidQuote15:/msg $chan "We are sorry to announce that Mr. Albert Brown has been quite unwell, owing to his recent death, and is taking a short holiday to recover." -Parish Magazine
 ..StupidQuote16:/msg $chan "We are not without accomplishment. We have managed to distribute poverty equally." -Nguyen Co Thatch, Vietnamese foreign minister
 ..StupidQuote17:/msg $chan "The word 'genius' isn't applicable in football. A genius is a guy like Norman Einstein." -Joe Theisman, quarterback and sports analyst
 ..StupidQuote18:/msg $chan "Fiction writing is great, you can make up almost anything." -Ivana Trump, on finishing her first novel
 ..StupidQuote19:/msg $chan "I've read about foreign policy and studied, I now know the number of continents." -George Wallace, 1968 presidential campaign
 ..StupidQuote20:/msg $chan "We don't necessarily discriminate. We simply exclude certain types of people." -Colonel Gerald Wellman, ROTC instructor
 .Channel Info
 ..Channel Stats:/services info $chan
 ..Channel Modes:/channel
 .Commands
 ..Join channel:/join # $$?="Enter channel name:"
 ..Part channel:/part # $$?="Enter channel name:"
 ..Query user:/query $$?="Enter nickname and message:"
 ..Send notice:/notice $$?="Enter nickname and message:"
 ..Whois user:/whois $$?="Enter nickname:"
 .Invite/Ignore/Change Nick/Quit
 ..Invite user:/invite $$?="Enter nickname and channel:" 
 ..Ignore user:/ignore $$?="Enter nickname:"
 ..Unignore user:/ignore -r $$?="Enter nickname:"
 ..Change nick:/nick $$?="Enter new nickname:"
 ..Quit IRC:/quit $$?="Reason For Quiting:"
}

Comments

Sign in to comment.
supergeo   -  Aug 07, 2005

$readini(,,)

For example:

$readini(users.ini,admins,$1)

This could be used in the following to determine the user\'s administration status:

set %status.nick1 $readini(users.ini,admins,$1)
if (%status.nick1 == $null) { set %status.nick1 0 }

That would find the level of the user, and if the user isn\'t in there, it would set their level as 0.

Each section, such as admins, is shown like this in the file:

[admins]

So, it will look under admins, for the third thing in the ()\'s you specified. In the case above, for $1. If $1 is DeathRyder082, it will go to the following line if it exists.

DeathRyder082 = 10

It will then read what\'s after the = sign. So in this case, it would return 10.

You can find more in the mIRC help file. Hope this helps a little :)

 Respond  
DeathRyder082   -  Aug 06, 2005

Well, I\'m testing this new script I put together. And I used this, seems to work good. I would like it if someone could give me some ideas of what commands to add or different stuff. Just bored right now, and to anthalus: I\'m not familiar with .ini files. But I\'ve seen them and I guess that would work.

 Respond  
anthalus   -  Aug 02, 2005

Why not put the popups in an .ini file and $read them? Some of the admin commands should work, can\'t say for all of them since those commands are not from UnrealIRCd

 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.