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

The positive value of an Integer

Status
Not open for further replies.
Level 9
Joined
Apr 28, 2009
Messages
538
Let's say i have a trigger that adds a specified amount of lumber to a player when he types "-lumber *** "

Everything is good except for one thing:
If the player types a negative number after "-lumber ", the lumber is substracted.
 
Status
Not open for further replies.
Top