HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Player name Condition?

10-25-2003, 11:34 AM#1
Gurrgel
Is there any way to detect if the triggering player has a certain name, I'm pretty sure that it has been discussions about this, but I can't find it at all. Pls tell me where it is...
10-25-2003, 11:39 AM#2
AllPainful

Store the name your trying to compair it to in a variable.

Then the condition your looking for is "String Compairison" if your looking to see whether or not they match then you want a boolean compairison. So you want a boolean string comparison.

So (Thename is the variable you stored it in):

Pick all players
String(Thename) equals String(player name(picked player)) = true

The above would of course be a "Pick all players and do multiple actions" and the first action would be "IF/then/else multipe actions" and the "String(Thename) equals String(player name(picked player)) = true" would be in the conditions.
10-25-2003, 09:00 PM#3
SpectreReturns
Dont listen to him. Just:

Condition:
String - (Player name of (Triggering Player)) equal to (Blah blah blah)