Author Topic: What is the code replacement for adding a second player without adding the team?  (Read 16428 times)

Offline mattman

  • Newcomer
  • *
  • Posts: 10
    • View Profile
What is the code replacement for adding a second player without adding the team again? In other words, if I have two players to identify from the same team, how do I drop the team for the second player? Example:
\w55d\ and \w54d\ = Whatsmatta University linebacker Jimmy John (55) and Whatsmatta University linebacker Billy Bob (54) make the tackle on etc......
I want it to read like this:
Whatsmatta University linebacker Jimmy John (55) and linebacker Billy Bob (54) make the tackle on etc......

I know there is some sort of code that I can use to kill that team name for the second player, is it something like *2 ???

Thanks!

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Use #2 for the second replacement.
Example : /w54d#2/

-Kirk


« Last Edit: November 20, 2012, 05:18:37 PM by Kirk Baker »

Offline SCFotos

  • Newcomer
  • *
  • Posts: 4
    • View Profile
Kirk
Does using #2 work on version 4.6.9 as it seems to have no effect.

Thanks

Offline SCFotos

  • Newcomer
  • *
  • Posts: 4
    • View Profile
Kirk

Just read the help file and now see how this work. by having a second replacement column.

Thanks  :)

Offline fabianlujan

  • Full Member
  • ***
  • Posts: 107
  • sports photographer
    • View Profile
I can't make it work or I'm not understanding this.

I have my tct code replacement file like this:

tcf1 TC1 Driver NAME (Ford)
(there's a tab between tcf1 and TC1)

So when i put the code \tcf1\ I get "TC1 Driver Name (FORD)"

Where should I put the second column?
Here?

tcf1 TC1 Driver Name (Ford)  Driver NAME

Please explain how to use 2nd column.

I find this option very useful since I hace at least 4 ways to call a driver. I combine fullname with car number, team and manufacturer.

Thanks!

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
I can't make it work or I'm not understanding this.

I have my tct code replacement file like this:

tcf1 TC1 Driver NAME (Ford)
(there's a tab between tcf1 and TC1)

So when i put the code \tcf1\ I get "TC1 Driver Name (FORD)"

Where should I put the second column?
Here?

tcf1 TC1 Driver Name (Ford)  Driver NAME

Please explain how to use 2nd column.

I find this option very useful since I hace at least 4 ways to call a driver. I combine fullname with car number, team and manufacturer.

Thanks!

You use #2 like so:

\tcf1#2\

-Kirk

Offline fabianlujan

  • Full Member
  • ***
  • Posts: 107
  • sports photographer
    • View Profile
I can't make it work Kirk.
Please check the file attached.
It's a small sample of the file I have.
Am I doing it right?

[attachment deleted by admin]

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
I can't make it work Kirk.
Please check the file attached.
It's a small sample of the file I have.
Am I doing it right?

No.  You don't have tabs between your columns.  You have four spaces between your columns.  I have replaced your four spaces with tabs and you can try the file yourself.

-Kirk


[attachment deleted by admin]

Offline fabianlujan

  • Full Member
  • ***
  • Posts: 107
  • sports photographer
    • View Profile
Great!! It works!! Even with more columns (such #3 and #4)!!

The problem was that my Notepad++ was adding spaces into tabs. Now I disabled that option and tabs are just that...tabs!

Thanks again!