Author Topic: Hidden Team Chat  (Read 2814 times)

0 Members and 1 Guest are viewing this topic.

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Hidden Team Chat
« on: April 10, 2010, 12:57:39 pm »
Script Name: Hidden Team Chat
Script Description Hidden from the enemy team chat
Script Version: 1.0.1
Author: dominikk26
Compile Test: Passed
Core Version: 2.7.6
Full Description:
With this script the team sees what you're saying is not the enemy!
Just write /ht <text> or /t <text> or /h text or /ch <text> or /c <text>
« Last Edit: December 17, 2013, 10:32:35 am by dominikkk26 »

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Hidden Team Chat
« Reply #1 on: April 10, 2010, 03:06:18 pm »
Why not just /t ?

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Hidden Team Chat
« Reply #2 on: April 10, 2010, 08:23:21 pm »
Nice script. Approved.
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline The Bone Collector

  • Veteran
  • *****
  • Posts: 1126
  • I'm so sexy.
    • Daniel Rutter Films
Re: Hidden Team Chat
« Reply #3 on: April 10, 2010, 09:26:43 pm »
Ohhh... nice! I can go into a server that has this script, and I can bitch, whine and complain about the opposing team being a bunch of m79ing noob pussies in my team chat, and they're definitely not going to see it if I say it as they stand over my dead body?

GameArena servers need to approve this right NOW! ;)
Just another soul to burn.

Offline Zapper

  • Major(1)
  • Posts: 31
Re: Hidden Team Chat
« Reply #4 on: April 11, 2010, 08:32:50 am »
dominikkk26 you should add FreeStyler / fri do teh Authors / Credits : http://www.forum.soldat.eu.com/index.php?topic=7706.0(if u cant understand this use Google Translator) ...
edit: he is asking on Polish Soldat Forums "How to ..." and then Releasing scripts here --...--
« Last Edit: April 11, 2010, 08:41:48 am by Zapper »

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: Hidden Team Chat
« Reply #5 on: April 11, 2010, 09:00:56 am »
He can ask how to make them as long he isn't stealing them, I think he already understood that since he edited a script and didn't mentoin the orginal author. But that's solved now and I'm sure he won't do that again without asking. Even though I, sure others too, don't care about other forums, that's their problem not ours as long the script wasn't from one out of this community.

And what has the code fri posted there to do with this one ..?

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Hidden Team Chat
« Reply #6 on: April 11, 2010, 10:02:13 am »
And what has the code fri posted there to do with this one ..?
Delete all 'something'+name+'something' and check out.

Offline Laser Guy

  • Veteran
  • *****
  • Posts: 1679
Re: Hidden Team Chat
« Reply #7 on: April 11, 2010, 11:13:20 am »
He just asked a how to do a part of the script, not the full script so he's fine. Of course he could mention the help of another person but doesn't need to...
Text goes here...

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Hidden Team Chat
« Reply #8 on: April 11, 2010, 07:06:24 pm »
Actually... I think I spot a logical error.

Line 12:
Code: (pascal) [Select]
for i:=1 to 16 do
This should be 1 to 32, or else you're gonna start missing people if you have a server with more slots than 16.

Also... Line 14:
Code: (pascal) [Select]
Tim := GetPlayerStat(ID,'Team');
Name := IDtoName(ID);
I think you should put these before the for loop they are in, because it's kinda pointless to keep reassigning them every time you do the loop when they aren't going to change.

And put some damn indentation in!!
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Hidden Team Chat
« Reply #9 on: June 16, 2013, 02:17:49 am »
Hidden Team Chat 1.0.1:
- New command  /t <text> lub /h text lub /ch <text> lub /c <text>
- Added script to the annex as soldatcenter expired.