- Joined
- Feb 19, 2004
- Messages
- 147
Ok so basically the problem here is that I have a save/load that I'm using substrings for along with if/then/else statements which...in my personal experience are a pain to work with. This is the trigger. I changed the variables of course to not give away codes in it later on...
-------------------------------------------------
Nevermind I figured it out
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Substring((Entered chat string), 9, 10)) Equal to (==) h
-
Then - Actions
- Hero - Modify Strength of (Last created unit): Add 1
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Substring((Entered chat string), 9, 10)) Equal to (==) y
-
Then - Actions
- Hero - Modify Strength of (Last created unit): Add 2
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Substring((Entered chat string), 9, 10)) Equal to (==) n
-
Then - Actions
- Hero - Modify Strength of (Last created unit): Add 3
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Substring((Entered chat string), 9, 10)) Equal to (==) p
-
Then - Actions
- Hero - Modify Strength of (Last created unit): Add 4
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Substring((Entered chat string), 9, 10)) Equal to (==) t
-
Then - Actions
- Hero - Modify Strength of (Last created unit): Add 5
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Substring((Entered chat string), 9, 10)) Equal to (==) k
-
Then - Actions
- Hero - Modify Strength of (Last created unit): Add 6
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Substring((Entered chat string), 9, 10)) Equal to (==) l
-
Then - Actions
- Hero - Modify Strength of (Last created unit): Add 7
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Substring((Entered chat string), 9, 10)) Equal to (==) h
-
Then - Actions
- Hero - Modify Strength of (Last created unit): Add 8
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Substring((Entered chat string), 9, 10)) Equal to (==) v
-
Then - Actions
- Hero - Modify Strength of (Last created unit): Add 9
-
Else - Actions
- Hero - Modify Strength of (Last created unit): Add 0
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-------------------------------------------------
Nevermind I figured it out
Last edited by a moderator: