Mogilevski Alexander - Medium and high level hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs стр 2.

Шрифт
Фон

$oSpVoice.SetRate (-3)

$text = GUICtrlRead ($Input_1)

$oSpVoice. speak ($text, $SPF_DEFAULT, 0)

I tell the robot that he would utter the text we entered for him. The next line!

EndSelect

end of selective mode. Next line!

WEnd

end of cycle, program work. The next line!

EndFunc;==> Deeman

the end of a function called Deeman and the end of the whole program!

We have created a program that, after entering your text, after clicking on the button, the text will speak. I almost forgot to say, here in the program there is one more nuance, tuning in general, a line!

$oSpVoice.SetRate (-3)

number 3 is the speed of the robot’s conversation, you can change the numbers and the robot will speak faster and slower. I could add one digit input field and an additional robot voice control button to control the speed, but I think that it will be a little superfluous, and you yourself can try to create a button and assign a new variable to it and connect this code.

******************************************************************************

Let’s remember the first book, there I wrote something like a flood bot, but if you think so, it is too simplified and I would even say that it was just the foundation, to create a flood bot, I will now write a more advanced flood bot, which I could say already ready to compile, I would even say need! Here is the code for the new flood bot!

FLOOD BOT FROM DEEMAN!

Ваша оценка очень важна

0
Шрифт
Фон

Помогите Вашим друзьям узнать о библиотеке

Скачать книгу

Если нет возможности читать онлайн, скачайте книгу файлом для электронной книжки и читайте офлайн.

fb2.zip txt txt.zip rtf.zip a4.pdf a6.pdf mobi.prc epub ios.epub fb3