Services Bot

By DragonFlare on Dec 07, 2008

I decided to make this script for my friend for his server so its less hassle to shun gline kill etc.... it

you will need to rplace

 if (*!*@Services-Administrator.irc.thecompunerds.com iswm $address($nick,2)) { 

with what your addres for staff is like i made this bot around services administrators so it is

 if (*!*@Services-Administrator.irc.thecompunerds.com iswm $address($nick,2)) { 

so replace that with what yours is and i am working on more commands so it will be updated and im workin on it in a different way to im not sure how much ima update the structure of it though i think leaving it to work with bots will work fine for now

on *:Text:*:#:{
  if (*!*@Services-Administrator.Irc.Thecompunerds.com iswm $Address($nick,2)) {
    tokenize 32 $strip($1-)
    if ($1 == Tempshun) {
      writeini TemporaryShun.ini $2 Nick $2 Temporary Shun Added For $2 On $FullDate Reason: $3*
      tempshun $2 Reason: $3*
      msg $chan 4  User $2 has been Temporaraly Shuned Reason $3*
    }
    elseif ($1 == -TempShun) {
      tempshun - $+ $2
      msg $chan 4 Shun on $2 has been removed by $nick
      msg $chan 4 $2 Please follow the Rules/Regulations of $server these Rules/Regulations are to keep you safe

    }
    elseif ($1 == Shun) {
      writeini ShunReasons.ini $2 Nick $2 Was shuned on $fulldate Reason: $3
      shun $2 Reason: $3*
      msg $chan 4 $2 Has been Shuned By $nick Reason $3 
    }
    elseif ($1 == -Shun) {
      shun - $+ $2
      msg $chan 4 Shun on $2 has been removed by $nick
      msg $chan 4 $2 Please follow the Rules/Regulations of $server these Rules/Regulations are to keep you safe
    }
    elseif ($1 == Staff) {
      os staff
      msg $chan $server Staff are $4
    }
    elseif ($1 == Gline) { 
      writeini GlineReasons.ini $2 Nick $2 was G-Lined on $fulldate Reason: $3 
      gline $nick Reason $3
    }
  }
}

Comments

Sign in to comment.
xplo   -  Dec 09, 2008

lol, rookie.

 Respond  
fire_wizard1   -  Dec 08, 2008

but im not a server admin in any server, so i cant use it at all

 Respond  
^Neptune   -  Dec 08, 2008

Why not screw the entire "replace your nick here" and set a var using $?

Would be much nicer and user friendly.

 Respond  
DragonFlare   -  Dec 07, 2008

i Made this because i wanted other people to use it and find it helpful Fire_Wizard1

 Respond  
fire_wizard1   -  Dec 07, 2008

i would use it

 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.