Autoit multi naming question

05/17/2010 17:50 Matic^#1
Hello am looking for the command or some explanations, like i need that auto it send some word and then he send it again he use same name but add higher number at the end of him; like first he send word1 and then he gets same command he send word2.
05/17/2010 18:20 Benhero#2
Here are The Script:
PHP Code:
$Number 1
$TextToSend 
"Your Text"

HotKeySet("{F5}""_StartSend")
HotKeySet("{END}""_Close")

While 
1
    Sleep
(100)
Wend

Func _StartSend
()
    While 
2
        Send
($TextToSend&" "&$Number)
        
$Number $Number 1
        Sleep
(10)
    
Wend
EndFunc

Func _Close
()
    Exit
EndFunc 
Best Greatz Benhero