Ok, I'm trying to make a script that when it reads the line (Already have the trigger) "* tells you 'Calculate *'"
So when someone tells you "Calculate 1600"...
Sub Calculate (TriggerName, TriggerLine, arrWildcard)
world.send "tell " & arrWildcard (1) & " from " & arrWildcard (2) & " you;" (this tells them from %2 you;)
world.send "tell " & arrWildcard (1) & " Gain: " & arrWildcard (2) * 0.05 (gain 60)
world.send "tell " & arrWildcard (1) & " Have to power down to: " & arrWildcard (2) * 0.25 + the arrWildcard (2) (power down to 1500"
world.send "tell " & arrWildcard (1) & " Stop gaining at: " & arrWildcard (2) * 2 (Stop gaining at:2400)
end sub
see what im getting at? or do i need to explain it to you more?(it confuses me)
So when someone tells you "Calculate 1600"...
Sub Calculate (TriggerName, TriggerLine, arrWildcard)
world.send "tell " & arrWildcard (1) & " from " & arrWildcard (2) & " you;" (this tells them from %2 you;)
world.send "tell " & arrWildcard (1) & " Gain: " & arrWildcard (2) * 0.05 (gain 60)
world.send "tell " & arrWildcard (1) & " Have to power down to: " & arrWildcard (2) * 0.25 + the arrWildcard (2) (power down to 1500"
world.send "tell " & arrWildcard (1) & " Stop gaining at: " & arrWildcard (2) * 2 (Stop gaining at:2400)
end sub
see what im getting at? or do i need to explain it to you more?(it confuses me)