• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] mode help

Status
Not open for further replies.
Level 4
Joined
Jul 1, 2009
Messages
65
Sorry i was looking for a tutorial or something on making a mode selection trigger. Kinda the same way Dota does there mode selection.

i can make one where it does it if u type -AR or -EM but i dun wanna make a trigger for each -AREM -EMAR -arem -emar -ar -em

and lots more if i add more.... i know there is a way... but i cant find it

This is what i have so far

Events
Player - Player 1 (Red) types a chat message containing - as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 2, (Length of (Entered chat string)))) Equal to td
Then - Actions
Else - Actions


I feel like it has to be equal to td so tdem wont work.....how can i make it just contain instead of equals
 
Status
Not open for further replies.
Top