!Access command.

By TermYT3 on Jan 02, 2008

Hello, i am Termyte from Latvia.Thats my first script.
My best sayed names about script:Easy, but works.

on 40:text:*:#:{
  if ($1 == !Access ) {
    msg # $nick Pick - Add( !addacc ) Delete (!delacc <nick>) 
  }
  if ($1 == !Addacc ) {
    msg # $nick Pick - Sop (!1acc) - Hop(!2acc) - Access 500 (!3acc) - Vop (!4acc) - Pick one of commands.
  }
  if ($1 == !1acc) {
    chanserv sop # add $2
    msg $2 Now you using SOP.
    mode # +o $2
  }
  if ($1 == !2acc ) {
    chanserv hop # add $2
    msg $2 Now you using HOP.
    mode # +h $2
  }
  if ($1 == !3acc ) {
    chanserv access # add $2 500
    msg $2 Now you using  OP.
    mode # +o $2
  }
  if ($1 == !4acc ) {
    chanserv vop # add $2
    msg $2 Now you using VOP.
    mode # +v $2
  }
  if ($1 == !Delacc ) {
    chanserv access # del $2
    msg $2 Now your access have been deleted.
  }
}

;I know, it was easy, but works. That`s my first script.
;By Termiits(In english:Termyte)

;  - Readme -
;  -
;  -  1.Write !Access
;  -  2.Write !DelAcc or !AddAcc
;  -  3.If  you write !AddAcc - - -. 4.! just write command, as you want, need do that - <command> <nick> (Type: !1acc <nick>)
;  -  3.If you write !DelAcc - - -. 4. just write command !DelAcc and nick (Type:!DelAcc <nick> .)
;  - It was so easy, but works.
;  -:-)
; That was my first script for BOT.

Comments

Sign in to comment.
[Joshh]   -  Jan 06, 2008

oh mkay, not what i would have done, but still nice, but what i would do is make them msg $2 Now you using SOP into notice $2 Now you using SOP. but hey to each their own, am i right? :)

 Respond  
TermYT3   -  Jan 05, 2008

Any coments or smth?

 Respond  
TermYT3   -  Jan 02, 2008

just write
/auser 40
and be happy. access dont need, just need /auser 40
i think you know`ed that what I said. :)

 Respond  
[Joshh]   -  Jan 02, 2008

I have a question. How can someone which 40 access set someone to 500 access? And also i suggest the use of elseif\'s :)

 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.