| 12-24-2003, 07:53 PM | #1 |
Code:
Set PlayerString
Events
Player - Player 1 (Red) types a chat message containing set PlayerString as An exact match
Conditions
Actions
Set Player_String_Variable[(Player number of (Triggering player))] = (Substring((Entered chat string), 17, 1000000000))
Game - Display to (Player group((Triggering player))) the text: ((Player_String_Variable[ + ((String((Player number of (Triggering player)))) + ])) + ( now = + Player_String_Variable[(Player number of (Triggering player))]))That is my trigger. Player_String_Variable is a 12 place String Array. What the trigger is supposed to do is get the string immediately after the words 'set PlayerString' and store them in the triggering player's section in the Array, then display a message to the player telling him what he just put in the Array. No text message shows. And it doesn't set anything in the array. Any help appreciated. |
| 12-24-2003, 08:27 PM | #2 |
Are you typing it in lowercase? Though I am not sure if "as an exact match" is case sensitive... Maybe that is your problem. If I notice something in the trigger itself I will edit. |
| 12-24-2003, 08:36 PM | #3 |
Thanks, your post gave me the solution. I'm such a dumbass. I was using as An exact match instead of as A substring. |
| 12-24-2003, 08:42 PM | #4 |
Was just about to post that. |
