Author Topic: Score Fixer  (Read 1433 times)

0 Members and 1 Guest are viewing this topic.

Offline iDante

  • Veteran
  • *****
  • Posts: 1967
Score Fixer
« on: July 18, 2008, 03:52:27 am »
Script Name: Score Fixer
Script Description: Possibly the simplest script ever created. Now that you can see how many flag caps every person has, I think its a little strange to leave the +20 bonus on, plus I would like to see how my score is without that kind of padding.
Original Author(s): me
Core Version: 2.6.3
Code:
Code: [Select]
procedure OnFlagScore(ID, TeamFlag: byte);
begin
SetScore(ID,GetPlayerStat(ID,'kills')-20);
end;

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Score Fixer
« Reply #1 on: July 18, 2008, 09:27:38 am »
Maybe at the same time you could have an array which each player's ID as keys and who's values are how many times they have capped, and when you do !caps ingame, it shows how many times each person has captured the flag.
There are other worlds than these

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Score Fixer
« Reply #2 on: July 18, 2008, 09:37:38 am »
....Now that you can see how many flag caps every person has....

its a script for 1.5