Iranian Programming Support

Welcome To Csharp TeaM Forum.
For Use All Forum Posts And See Links
Please Register
Thanks
www.Programming.MrForum.net
Csharp TeaM Administrator
Iranian Programming Support

Csharp TeaM

Top posting users this month

Latest topics

» html to c# source code convert help
by launchar Tue Dec 06, 2016 7:22 am

» User input
by nesraz Sun Dec 20, 2015 8:39 am

» darkhaste source mediaplayer baraye b4a
by parham01 Tue Dec 15, 2015 10:31 am

» Tolide esme file gheire tekrari
by sajjad3011 Fri Jul 31, 2015 5:00 pm

» 368 library basic 4 android
by alimusavi71 Fri Jul 17, 2015 6:45 pm

» نرم افزار دریافت لایسنس آنتی ویروس نود 32
by programmer-x Wed Jul 15, 2015 3:19 pm

» help for java applications
by launchar Wed Jul 01, 2015 12:25 am

» Nimbuzz id Maker auto Captcha & Auto add FlooD & id BloCker
by briant Sat Jun 20, 2015 12:46 pm

» best mobile server v.1.0.0 persian edition
by programmer-x Fri Jun 19, 2015 12:41 am

» plz help me i neez xml code for spy bot
by alone Sun Mar 22, 2015 9:30 pm

» Dialogs Lib {Basic 4 Android}
by abdo0o Mon Mar 09, 2015 4:02 pm

» Room + PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:06 am

» PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:03 am

» سی شارپ سورس
by tr0 Wed Dec 24, 2014 12:15 pm

» help plz auto maker ids
by launchar Wed Dec 17, 2014 5:57 pm

» Join Multi Id To Room + Captcha [ Badbuzz Team ] In Seri Ba AgsXMPP !!
by abdo0o Fri Dec 12, 2014 4:47 am

» Amoozesh Ersale Sms Dar B4a
by abdo0o Fri Dec 12, 2014 4:43 am

» help me pls mehran brother
by launchar Wed Dec 03, 2014 6:36 pm

» plz help code Refresh captcha join Room
by ayad53 Wed Dec 03, 2014 12:24 pm

» please Help Me For AutoCaptchaa kardan IdMaker
by abdo0o Tue Dec 02, 2014 12:12 pm

» source C# bot addlist sender by ==> Alone_051@n.c
by walahazrat Mon Dec 01, 2014 2:34 am

» s2a sender tro help me pls
by walahazrat Mon Dec 01, 2014 2:28 am

» Help For {Data id } C# asixmpp.dll
by abdo0o Sun Nov 30, 2014 11:17 pm

» Help C# {Join & Left With Remoter}
by $iahi Tue Nov 25, 2014 10:31 am

» Source Nimbuzz User Searcher By Mehr,an [ Badbuzz TeaM ]
by waseemmalik Wed Nov 19, 2014 11:35 am


    help for Auto Answer Bot

    Share
    avatar
    mohamaaad554
    New Member
    New Member

    Posts : 5
    Points : 9
    Thanks : 0
    Join date : 2013-10-22

    Open help for Auto Answer Bot

    Post by mohamaaad554 on Wed Oct 23, 2013 12:07 am

    سلام  
    all
    امیداورم حالت خوب باشه Ghermez 
    اقا من یه بوت نوشتم
    حالا میخوام
    یه منشی بهش اضافه کنم
    مثلا هرکی پی وی ایدی بوت سلام کنه یا هرچی
    اون چیزی که تو تکس باکس گذاشتم جوابشو بده مثلا نیستم یا 9 پی وی
    ممنون میشم کدشو بزارید باتشکر
    avatar
    Mr.Bermuda
    Junior Member
    Junior Member

    Posts : 114
    Points : 214
    Thanks : 24
    Join date : 2013-07-12
    Age : 23
    Location : Internet

    Open Re: help for Auto Answer Bot

    Post by Mr.Bermuda on Wed Oct 23, 2013 1:25 am

    Titel Topic Monaseb Nist!
    Edit Kon!

    Code:
    x.OnMessage += new agsXMPP.protocol.client.MessageHandler(pm);
    Code:
            private void pm(object sender, agsXMPP.protocol.client.Message msg)
            {

                if (base.InvokeRequired)
                {
                    base.BeginInvoke(new agsXMPP.protocol.client.MessageHandler(pm), new object[] { sender, msg });
                }
                else
                {
                    if (msg.Body != null)
                    {

                        if (msg.Type == agsXMPP.protocol.client.MessageType.chat)
                        {
                            textBox1.Clear();
                            textBox1.AppendText(msg.From.Bare);
                            x.Send("<message xmlns='jabber:client' to='" + textBox1.Text + "' type='chat' id='big.coder'><body>" + txtpm.Text + "</body><subject>" + txtsub.Text + "</subject></message>");
                        }
                    }
                }
            }
    Intori ham Mishe!





    Trust is like an eraser,
    it gets smaller
    and smaller
    after every
    mistake !
    avatar
    Nima
    Csharp Admin
    Csharp Admin

    Posts : 210
    Points : 326
    Thanks : 56
    Join date : 2013-07-08
    Age : 23
    Location : Iran-AmoL

    Open Re: help for Auto Answer Bot

    Post by Nima on Wed Oct 23, 2013 3:40 am


    Salam Doste Aziz , Be in Ravesh Ham Motoni :

    Code:

    // Creat New Connection
    // ino qabl az void Button Login Bezar
    XmppClientConnection Csharp = new XmppClientConnection();  
    Code:

    // ino to voide button login bezar
    Csharp.OnMessage += new MessageHandler(Csharp_OnMessage);
    Code:

    // Inja Hala Mitoni Harchizi Bezari
    // Masalan Benvisi Age Kac pv goft salam .bot Bege Aleyke Salam
    // Ya Age Goft By Bege Khodafez

    public void Csharp_OnMessage(object sender, agsXMPP.protocol.client.Message msg)
            {
                try
                {
                    if (msg.Body == null)
                    {
                        return;
                    }
                    else
                    {
                        msg.Body = msg.Body.ToLower().Trim();
                        // inja hameye horofi ke taraf pv mide ro be horofe Kochik tabdil mikonim
                       // ta barname rahat betone moqayese kone
                   }
                        // khob inja migim age msg pv ke taraf minvise = bod ba salam

                   if (msg.Body == "salam")
                    {
                        ((XmppClientConnection)sender).Send(new agsXMPP.protocol.client.Message { To = msg.From, Body = "Salam Be Roye Mahet :-$ ", Type = MessageType.chat });
                    }
                        
                    }
                }

    // Be Hamin Tartib Bye Va Harchi ke mikhay tarif mikoni .
    // Ham Chenin be jaye "Salam Be Roye Mahet :-$" mitoni matni ro ke to txtBox mizari send koni
    // injori

                   {
                        ((XmppClientConnection)sender).Send(new agsXMPP.protocol.client.Message { To = msg.From, Body = textBoxSalam.Text , Type = MessageType.chat });
                   }

    // ye nokte faqat , kalame haye toye  " "  ro ba horofe kochik benvis
    // age be jaye "salam" benvisi "Salam" , Moqayese qalat mishe va soft amal nemikone

    // Fek nakonam Chizi Ja Mond . :-P
    Aziz Jesarat Nashe Ziad Mobtadi Tozih Dadam . Koli Goftam . Title Topicet Ham Avaz Kardam. Moafaq Bashi





    avatar
    dga
    New Member
    New Member

    Posts : 4
    Points : 6
    Thanks : 0
    Join date : 2013-12-04

    Open Re: help for Auto Answer Bot

    Post by dga on Wed Dec 04, 2013 4:18 pm

    سورس و برنامه کاملش رو دارید؟‌بدید
    avatar
    Nima
    Csharp Admin
    Csharp Admin

    Posts : 210
    Points : 326
    Thanks : 56
    Join date : 2013-07-08
    Age : 23
    Location : Iran-AmoL

    Open Re: help for Auto Answer Bot

    Post by Nima on Sat Dec 07, 2013 5:32 am

    dga wrote:سورس و برنامه کاملش رو دارید؟‌بدید
    Source Kamele che barnamei mikhay !!!! karaish chi bashe !!
    Man Source Kamel Nemizaram To Forum ! Harchi soal dashti dar khedmatam






    Sponsored content

    Open Re: help for Auto Answer Bot

    Post by Sponsored content


      Current date/time is Fri Aug 18, 2017 9:45 am