[trigger:1:055442324b]DoSomething
Events
Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
Conditions
Actions
Set String = -give
Set Start = (Length of String)
Set End = (Start + 7)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 1, Start)) Equal to String
(Integer((Substring((Entered chat string), Start, End)))) Greater than or equal to 1
(Integer((Substring((Entered chat string), Start, End)))) Less than or equal to 1000000
Then - Actions
Set Value = (Integer((Substring((Entered chat string), Start, End))))
Else - Actions[/trigger:1:055442324b]
So write something the "Then" after the "set value" the value will be the outputted string.