|
nostra Wanderer
Joined: 23 May 2001 Posts: 68 Location: Sweden
|
Posted: Tue May 27, 2003 1:49 am
String-list not sensitive? |
In one of my trigger I use a color value if the player is a member of the string list variable.
That is,
Pattern: {@string_list}
Value: #color red
Problem: I just noticed that the trigger kicked in on just about anything that resembles the true names in my @string_list.
For example, I have a name called "Smile" in my string_list, but the trigger fires on "smiley" as well.
Is there anything I can do to avoid this "insensitive nonsense"? :) |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue May 27, 2003 3:24 am |
quote:
In one of my trigger I use a color value if the player is a member of the string list variable.
That is,
Pattern: {@string_list}
Value: #color red
Problem: I just noticed that the trigger kicked in on just about anything that resembles the true names in my @string_list.
For example, I have a name called "Smile" in my string_list, but the trigger fires on "smiley" as well.
Is there anything I can do to avoid this "insensitive nonsense"? :)
Stringlists by themselves are not case-sensitive. When used in a trigger, for example, you must click the Case Sensitive option on under the Options tab. In a function like %ismember(), however, stringlists are forced into case-sensitivity.
li'l shmoe of Dragon's Gate MUD |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|