Author Topic: Slap script:  (Read 5984 times)

0 Members and 1 Guest are viewing this topic.

Offline AquaByrd

  • Soldier
  • **
  • Posts: 108
  • Lolwut?
Slap script:
« on: January 22, 2009, 06:55:48 am »
Script Name: Slap
Script Description Slap script to punish irritating players
Author: AquaByrd
Compile Test: Passed
Core Version: 2.6.3
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
Admin only slap script to punish irritating players without kicking or banning them.

/slap <player id> does 50 damage
/hardslap <player id> does 100 damage



(Size 482 B)
- http://soldatcentral.com/index.php?page=script&f=92 -


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **

Thanks to Curt / DorkeyDear and Rampage_Terranius
« Last Edit: January 22, 2009, 08:44:49 am by AquaByrd »
My sig was 300 x 120, the maximum size is 300 x 125. Check next time will you.

Offline daphenomena

  • Major
  • *
  • Posts: 72
  • -wP- DaPhenomena
    • FPSBanana
Re: Slap script:
« Reply #1 on: January 22, 2009, 07:53:55 am »
Can be this command used by anyone or just by admins of the server?

EDIT:

Perfect for my server since I got a lot of offences from "admin haters"  >:(
« Last Edit: January 22, 2009, 08:49:43 am by daphenomena »

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Slap script:
« Reply #2 on: January 22, 2009, 08:17:22 am »
admins only

Im chill like that

Offline corl45

  • Major
  • *
  • Posts: 51
  • PWNED!
    • www.freewebs.com/tylersmod
Re: Slap script:
« Reply #3 on: January 22, 2009, 11:16:43 pm »
nice script. may i suggest using the "NameToID(Name: string)" function so you can use player names too. you can add it as another /command or just change the existing. like:
"/slap Corl45"
"/slapID 1"

if "Corl45" was player one, they would do the same thing

note: Player names are case sensitive
BE AWESOME!

Offline daphenomena

  • Major
  • *
  • Posts: 72
  • -wP- DaPhenomena
    • FPSBanana
Re: Slap script:
« Reply #4 on: January 23, 2009, 01:09:27 am »
nice script. may i suggest using the "NameToID(Name: string)" function so you can use player names too. you can add it as another /command or just change the existing. like:
"/slap Corl45"
"/slapID 1"

if "Corl45" was player one, they would do the same thing

note: Player names are case sensitive

I think that's already done. When I tested this command on my server it worked just well with:
"/slap <player name>"
"/hardslap <player name>"

Don't know then...But I'm nearly sure that, that's already done ;)

Offline AquaByrd

  • Soldier
  • **
  • Posts: 108
  • Lolwut?
Re: Slap script:
« Reply #5 on: January 23, 2009, 01:25:30 pm »
nice script. may i suggest using the "NameToID(Name: string)" function so you can use player names too. you can add it as another /command or just change the existing. like:
"/slap Corl45"
"/slapID 1"

if "Corl45" was player one, they would do the same thing

note: Player names are case sensitive

I think that's already done. When I tested this command on my server it worked just well with:
"/slap <player name>"
"/hardslap <player name>"

Don't know then...But I'm nearly sure that, that's already done ;)

Lol, really? I didn't write it to do that, but whatever.
My sig was 300 x 120, the maximum size is 300 x 125. Check next time will you.

Offline daphenomena

  • Major
  • *
  • Posts: 72
  • -wP- DaPhenomena
    • FPSBanana
Re: Slap script:
« Reply #6 on: January 23, 2009, 02:55:17 pm »
Lol, really? I didn't write it to do that, but whatever.

Yes, it really works (tried again today)
That's really important for me since I really don't bother to press "F1" to see the players ID
I just check the kill and slap him if he's cheating or being rude to me :P
(aah...it's great to be admin  ;D)

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Slap script:
« Reply #7 on: January 23, 2009, 03:15:13 pm »
Quote
I just check the kill and slap him if he's cheating or being rude to me

its enough reason to PERM BAN

Im chill like that

Offline AquaByrd

  • Soldier
  • **
  • Posts: 108
  • Lolwut?
Re: Slap script:
« Reply #8 on: January 23, 2009, 03:42:31 pm »
Quote
I just check the kill and slap him if he's cheating or being rude to me

its enough reason to PERM BAN

Oh come off it, permenant ban for cheating, but being rude?
My sig was 300 x 120, the maximum size is 300 x 125. Check next time will you.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Slap script:
« Reply #9 on: January 23, 2009, 05:05:21 pm »
being rude to an admin is enough to get banned

Im chill like that

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Slap script:
« Reply #10 on: January 23, 2009, 08:03:11 pm »
StrtoId http://www.soldatcentral.com/index.php?page=script&f=93 :P with some fun features such as ip, partial player name.. or just the id itself.

Offline AquaByrd

  • Soldier
  • **
  • Posts: 108
  • Lolwut?
Re: Slap script:
« Reply #11 on: January 24, 2009, 05:29:07 am »
being rude to an admin is enough to get banned

Maybe,  but not permenantly. Also, other admins may well be somewhat more lenient than you.
My sig was 300 x 120, the maximum size is 300 x 125. Check next time will you.

Offline miketh2005

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 668
  • What's the URL for www.microsoft.com?
Re: Slap script:
« Reply #12 on: January 28, 2009, 03:48:19 pm »
being rude to an admin is enough to get banned

that's pretty stupid, i hope you aren't an admin, i feel sorry for the server your admin on...
Quote from: 'Ando.' pid='12999178' dateline='1309046898'
My new password is secure as shit :)
Mate, I am not sure Shit is even secured nowadays.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Slap script:
« Reply #13 on: January 28, 2009, 04:42:23 pm »
im admin of many public servers and im strict thats the only way to keep server clean and nice

Im chill like that

Offline Mr Pink

  • Major(1)
  • Posts: 37
Re: Slap script:
« Reply #14 on: January 28, 2009, 05:48:53 pm »
Already done with loads more features here http://forums.soldat.pl/index.php?topic=23135.0

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Slap script:
« Reply #15 on: January 28, 2009, 06:12:08 pm »
Quote
Command: /hurt <id> <amount>
Description: Hurts the player by <amount> damage
Aliases: /slap, /punch, /poke

Im chill like that

Offline Mexer

  • Soldier
  • **
  • Posts: 121
  • real eyes. realize. real lies.
Re: Slap script:
« Reply #16 on: February 06, 2012, 10:27:27 am »
Can you make it slap the player half the amount of health he-s got? so if he has 30% health he won't die because you gave him 50% damage..
or even maybe do:  His health= His health -  (His health-1)    so he'll have 1HP remaining.

I'm too lazy to code that :P
Soldat devs and community: We want this game to be successful and have new players and make it popular!

Soldat devs and community: But we want the oldskool graphics and bugs and errors to be left alone! Soldat shall never change!!!