HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Check single letters of player names?

03-13-2004, 10:21 PM#1
Arohk
i was trying to create a code system for my map that check the first letter of the player name, if its a than blah blah, if its b blah blah blah, but i cant find a trigger that check letters of player names

any ideas?
03-14-2004, 01:34 AM#2
Cubasis
Quote:
Originally Posted by Arohk
i was trying to create a code system for my map that check the first letter of the player name, if its a than blah blah, if its b blah blah blah, but i cant find a trigger that check letters of player names

any ideas?

Sub-String is your friend. Use it. So basicly, Substring allows you to cut another string and take a specific part of it for your use.

Cubasis
03-14-2004, 12:22 PM#3
Kamux
Use the string comparison - substring. Name of Player, 1 , 1 --> first letter, only one letter to check.
03-14-2004, 12:57 PM#4
Arohk
thx, i will try it