The student IRC-bot source

Affiliates: 0,01 $how to earn
Pay with:
i agree with "Terms for Customers"
Sold: 2 last one 25.02.2011
Refunds: 0

Uploaded: 28.10.2008
Content: irc_bot.rar 269,08 kB

Description

The source learning irc-bot on Delphi 7. See. For additional information:
Below are excerpts from the standard of care to the bot (poluchaymoy to channel):

Teams _____________________ __________________________
Commands are instructions for the bot to which he responds in a predetermined manner. Traditionally begins with the sign of the team name!. 9Vid team:
! Sommand1 otvet1 | otvet2 | otvet3
When you run! Sommand1 will be randomly selected from the 3 options listed response and output. Let's see how you can manage teams:
! List_cmd - shows a list of commands
! View_cmd! Command1 - shows in detail command command1 with her answers
! Del_cmd! Command1 - removes command command1
! Add_cmd! Command1 otvet1 | otvet2 | otvet3 - adds a command command1 with predetermined answers
! Del_answ! Command1 otvet1 | otvet2 - removes commands command1 answers otvet1 and otvet2
! Add_answ! Command1 otvet4 | otvet5 - adds answers otvet4 and otvet5 team command1
9Vyzyvaetsya track team. follows:
15! Command1 param1 param2
In response param1 and param2 mozhnoispolzovat through built-in functions% 1% and% 2% respectively.
Greetings _____________________ __________________________
Boat can greet everyone entering the canal. Management greetings:
! Add_hello Hello! - Add the greeting "Hello!"
! Del_hello Hello! - Removes the greeting "Hello!"
! List_hello - gives a list of greetings
! Clear_hello - removes all greetings
_____________________ __________________________ Features
Greetings and responses to commands may not just text as well as text functions.
Features - Record, replaceable when processing one of his answers. Limited signs percent.
9Vstroennye in bot features:
% Date% - date,% time% - date,% day_num% - day of the week (1-7),% day_name% - name of the day,% user% - a user who sends a message (or part of the canal),% random [xy]% - random number between x and y. % Week% - current week (upper / lower).

Additional information

There is also a mathematical engine:% math []. Within the brackets, written expression, which is then evaluated. Understands:
+, -, *, /, ^, Pi, sin (), cos (), tan (), cotan (), parentheses.
As standard functions are declared% 1%% 2%% 3% 4%%% 5% - the parameters passed to the command:
15! Command1 param1 param2
9Kak work with functions:
! List_func - shows a list of functions
! View_func% func1% - shows in detail the function% func1% with its answers
! Del_func% func1% - delete function% func1%
! Add_func% func1% otvet1 | otvet2 | otvet3 - adds the function% func1% with predetermined answers
In response functions can be used by other functions. Botha, please do not obsess!)
9Primer team Spanish. feature:
15! Add_cmd! Nastroenie Today I% nastr_value% mood
15! Add_func% nastr_value% good | bad | Normal
Branching _____________________ __________________________
The general sense of this: let's say in a thread team used record% getage_% user %%. At the request of a user function will be called% getage_USER1% and another% getage_USER2%. And inside of these functions can be even branching well, etc. Be careful with the names of the functions that are not misled.

Feedback

1
No feedback yet.
Period
1 month 3 months 12 months
0 0 0
0 0 0
In order to counter copyright infringement and property rights, we ask you to immediately inform us at support@plati.market the fact of such violations and to provide us with reliable information confirming your copyrights or rights of ownership. Email must contain your contact information (name, phone number, etc.)