• 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.

make a string not crush the game

Status
Not open for further replies.
Level 9
Joined
Apr 3, 2008
Messages
700
Do you mean that it crashes when you try to convert letter to integer?
You can check if there is letter or number with a string comparison so.

Edit: Are you sure that you've wrote "give 1 ANDK"? It's 11 symbols lenght! And you use an Integer comparison, Entered string lenght <=10. I'm not sure that the problem in this trigger. Because this trigger won't run if entered chat string lenght > 10.
 
Status
Not open for further replies.
Top