-gold Command

Status
Not open for further replies.
Level 4
Joined
Mar 13, 2014
Messages
93
  • Gold
    • Events
      • Player - Player 2 (Blue) types a chat message containing -Gold as A substring
      • Player - Player 3 (Teal) types a chat message containing -Gold as A substring
      • Player - Player 4 (Purple) types a chat message containing -Gold as A substring
      • Player - Player 5 (Yellow) types a chat message containing -Gold as A substring
      • Player - Player 6 (Orange) types a chat message containing -Gold as A substring
      • Player - Player 7 (Green) types a chat message containing -Gold as A substring
      • Player - Player 8 (Pink) types a chat message containing -Gold as A substring
      • Player - Player 9 (Gray) types a chat message containing -Gold as A substring
      • Player - Player 10 (Light Blue) types a chat message containing -Gold as A substring
      • Player - Player 11 (Dark Green) types a chat message containing -Gold as A substring
      • Player - Player 12 (Brown) types a chat message containing -Gold as A substring
    • Conditions
      • (Substring((Entered chat string), 1, 6)) Equal to -Gold
    • Actions
      • Player - Add (Integer((Substring((Entered chat string), 7, 11)))) to (Player((Player number of (Triggering player)))) Current gold
Not Working ????
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
i dont have player 1 in my map
Are you sure you are still not testing it as player 1?

It would help if you explained what part was not working. Are the events firing? Is the condition failing? Is the action not working? All can be tested for very easily by disabling the other parts and using debug messages.
 
Level 4
Joined
Mar 13, 2014
Messages
93
  • Gold Copy
    • Events
      • Player - Player 2 (Blue) types a chat message containing -Gold as A substring
    • Conditions
    • Actions
      • Player - Add (Integer((Substring((Entered chat string), 7, 20)))) to (Player((Player number of (Triggering player)))) Current gold
I Fixed That So ITs Working Now Thnx Guys !!!
 
Status
Not open for further replies.
Top