My easy mod,admin,services bar

By D34th on Feb 19, 2010

This, is very simple to use i made a edit bar at the bottom that you enter peoples nicknames into and the rest is just click lol.

Alias Bar { Dialog -m Bar Bar }
dialog Bar {
  title ""
  size -1 -1 612 47
  option dbu
  box "Simple Commands", 1, 3 2 210 25
  button "+op", 2, 5 11 33 12
  button "-op", 3, 39 11 33 12
  button "+voice", 4, 73 11 33 12
  button "-Voice", 5, 108 11 32 12
  button "Kick", 6, 142 11 32 12
  button "Ban", 7, 176 11 33 12
  box "Admin", 8, 215 2 214 25
  button "Kill", 9, 218 11 32 12
  button "K-line", 10, 252 11 32 12
  button "Akill", 11, 287 11 32 12
  button "Oper", 12, 321 11 33 12
  button "Admin", 13, 357 11 32 12
  button "Die", 14, 392 11 32 12
  box "Services", 15, 430 2 181 25
  button "Add Aop", 16, 432 10 33 12
  button "Del Aop", 17, 467 9 32 13
  button "Reg Nick", 18, 501 9 33 13
  button "Drop nick", 19, 535 9 33 13
  button "Drop Chan", 20, 571 9 32 12
  box "", 21, 3 26 608 18
  edit "", 22, 5 32 603 10
}
On *:Dialog:Bar:*:*:{
  If ($devent == InIt) {
    Dll hos Dock $dname Top -1
  }
  If ($devent == Sclick) {
    If ($did = 2) { 
      Mode $active +o $did(22) 
    }
    if ($did = 3) { 
      Mode $active -o $did(22) 
    }
    if ($did = 4) {
      Mode $active +v $did(22) 
    }
    if ($did = 5) { 
      Mode $active -v $did(22) 
    }
    if ($did = 6) {
      Kick $active $did(22) Pwned by $me
    }
    if ($did = 7) {
      Mode $active +b $address($Did(22),4)
      Kick $active $did(22) Pwned by $me
    }
    if ($did = 9) {
      Kill $did(22) 
    }
    if ($did = 10) {
      Kline $did(22) PWNED By $me
    }
    if ($did = 11) {
      Akill $did(22) PWNED By $me
    }
    if ($did = 12) {
      Setoper $did(22) +oper
    }
    if ($did = 13) {
      Setoper $did(22) +admin
    }
    If ($did = 14) {
      Die
    }
    If ($did = 16) {
      Services AOP $active Add $did(22)
    }
    if ($did = 17) {
      Services AOP $active Del $did(22)
    }
    if ($did = 18) {
      Services Register $me $did(22)
    }
    if ($did = 19) {
      Services Drop $did(22)
    }
    if ($did = 20) {
      Services Drop $active
    }
  }
}

Comments

Sign in to comment.
D34th   -  Feb 22, 2010

Well Gemster if u wanted to test it without the docking function of Hos.dll it would be as simple as removeing

If ($devent == InIt) {
Dll $hos Dock $dname Top -1
}

in wich case it would no longer dock and be a normal dialog makeing it so u can use it but it doesnt dock any were.

 Respond  
Gemster   -  Feb 21, 2010

Well i do have the mod hos.dll in script/dll dir. It works as i use it atm and have for the past 2 years. But what i was saying is how can any1 test this script without that mod ?. Not many ppl will have that mod. Also the hos.dll mod comes with open source but the hos itself is the same as everyone elses unless you changed yours so to say the hos.dll isent worksing a very big asumption.

Thanks
Gemster

 Respond  
D34th   -  Feb 20, 2010

Lol Gemster "Dll $Hos Dock $dname Top 1" is in the snippet so it does dock when u open it if you're hos dll isnt working proporly im sorry but it does dock for me as seen in my screenshot of my Script it works flawlessly yes i have updated to add color in the screenshot but as for Resizeing i dont see much of a point in that i would forsee the user changeing it to suit their screen resolution its what i have done in the past when i used any snippets that i wanted that were far too big.

 Respond  
Gemster   -  Feb 20, 2010

D34th, every1 uses different screen res, so if a user uses a small res this bar is cut at the end.

For me the dialog is far too long. Why not make it smaller and maybe use tabs on the dialog ?

ohh and where the hos.dll for the docking ? as a dialog this can be fixed by resizing ect but with out the mod to dock it id say its a waste of time posting a script with out the correct .dll's

Just my opinion tho

Thanks
Gemster

 Respond  
D34th   -  Feb 20, 2010

Anyone else that looks through this and says i riped "hitman iRc" http://www.hawkee.com/profile/img/3137/ is the link to view my IRC "WraithRIOT iRc" as WraithRIOT is my normal nickname wich i built a script named after me so then review bWFkZHk's script "Hitman iRc" And decide for you're selfs if i riped him

 Respond  
D34th   -  Feb 20, 2010

Maddy i have alot i need to talk to you about so here im giveing you a IRC Link to go to and talk to me were its more aproprate alright? will u atleast take the time to talk to me like an adult because im getting really tired of being called a ripper really tired of this war and i want to work things out with you 94.76.255.150:6667 -j #RIOT

 Respond  
bWFkZHk   -  Feb 20, 2010

when you post up your little codes you should give credit where credit is due. I'm sure as you would want this community to think you're some hard core scripter, its not true. You need to learn wtf you're doing and you need to see how it effects other people esspecially before you decide to post shit that looks 98% like other peoples shit.

 Respond  
D34th   -  Feb 20, 2010

Actually Maddy i got the Idea from you but as i reacll you're script workes soly on ur list that is controlled by MDX Dll mine is all buttons wich is a idea i go from V1p3rbyt3s's Renegade iRc So shut up and do you're homework before you call ripping especialy now that im learning up on MDX =]

 Respond  
Jethro   -  Feb 20, 2010

You should emulate to napa's belief in "Feel free to rip butcher or strip this code how ever you want I Don't Care." lol

 Respond  
bWFkZHk   -  Feb 19, 2010

thats because it was ripped.

 Respond  
napa182   -  Feb 19, 2010

yeah funny they forgot to say anything about the docking dll =/

 Respond  
bWFkZHk   -  Feb 19, 2010

interesting! this looks VERY familure! you sure you didnt use it from my script yo!?

 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.