• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[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