!headshot

By The Monster on Jul 20, 2006

This script is a fun way to kick people out of your channel in a Counter strike / FPS doug way :)

Also has protection from others using :)

Ive only been scripting 3 days :)

To use:

Type:

!headshot [name of person you want kicked]

example:

!headshot thebot

on *:TEXT:!headshot*:#: {
  if ($nick ishop #) || ($nick isop #) {
    if ($nick == [The_Monster]) {     ;configure your name here;
      /msg $chan 10 $nick gets out his AWP...   
      /msg $chan 10 $nick Aims for the 4HEAD
      kick $chan $24 BOOM HEADSHOT BITCH!1
    }
    else {
      /msg $chan 10 $nick gets out his AWP...   
      /msg $chan 10 A enemy comes from behind.. 
      kick $chan $nick 13 HUMILIATION!1
    }
  }
}

Comments

Sign in to comment.
drumkid007   -  Aug 12, 2006

so how can i get it to work ive got this
on :TEXT:!headshot:#: {
if ($nick ishop #) || ($nick isop #) {
if ($nick == [-ID3-BOT-]) { ;[-id3-bot-];
/msg $chan 10 $nick gets out his AWP...
/msg $chan 10 $nick Aims for the 4HEAD
kick $chan $2 4 BOOM HEADSHOT BITCH!
}
else {
/msg $chan 10 $nick gets out his AWP...
/msg $chan 10 A enemy comes from behind..
kick $chan $nick 13 HUMILIATION!
}
}
}

 Respond  
Pibb   -  Jul 21, 2006

Although something I didn\'t catch before I posted.
Hawkee states in his Scripting Tips to end a color scheme, with only the , instead of 1. This way it won\'t interfear with colors, and will set back to default text, or other.
Sorry if thats not entirely clear.

 Respond  
Pibb   -  Jul 21, 2006

Just looking at the code at this part.

  kick $chan $24 BOOM HEADSHOT BITCH!1

I think you might want a space between $2 and the color scheme.

 Respond  
Noutrious   -  Jul 21, 2006

:: configure your name here
should be replaced with
;configure your name here;
to don`t hurt snippet.

Anyway, sorry, but another pretty stupid snippet, with these the archive is full.

 Respond  
Acid-Religion   -  Jul 20, 2006

You should add if $me isop $chan, and give an error message if not. Also remove the : : configure youre name here, and move it all the way left and put ; configure your name here.
That way it wont be read as a part of the code..

 Respond  
The Monster   -  Jul 20, 2006

Err dude i forgot something..

Your suppose to type \"!headshot [Name]\"

 Respond  
Brian   -  Jul 20, 2006

its kicking ever1 thats joining:s maby a idea !headshot then if he is hitted he get kicked if he is missed he dont get kicked?

 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.