- Joined
- Dec 20, 2010
- Messages
- 76
After a day woking with hastable, I've got some troubles. So I made this trigger for a little test.
-
Events
-
Player - Player 1 (Red) types a chat message containing -key as A substring
-
-
Conditions
-
(Length of (Entered chat string)) Equal to 6
-
-
Actions
-
Set Temp_String = (Substring((Entered chat string), 6, 6))
-
Hashtable - Save (Integer(Temp_String)) as 2 of 2 in ItemData
-
Set Temp_Integer = (Load 2 of 2 from ItemData)
-
Set Temp_String = (String(Temp_Integer))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Temp_String Equal to Empty String
-
-
Then - Actions
-
Game - Display to (All players) the text: no text
-
-
Else - Actions
-
Game - Display to (All players) the text: Temp_String
-
-
-