Latest topics | » سلام علیک و رحمه الله...چه خبرا بچه ها؟ by DARK Sat Apr 30, 2022 11:59 pm
» oon ghadima!!! by Inj3ctor Wed Aug 18, 2021 4:26 am
» need a source code of any server for university project help me for it by xerockss Sun Jun 09, 2019 10:28 pm
» New : Run Python based bots like Aurora, Blacksmith, VBOt in your Android Mobile by ltc_mkt Wed Feb 27, 2019 5:09 pm
» دوره ی اضافه کردن سکه به برنامه هایی همچون فالوور بگیر و ممبرگیر و ... (خریداری شده) by mr.pitza Mon Oct 01, 2018 8:10 pm
» hach any id f.a.c.e.b.o.o.k 2019 by christian777 Sat Apr 21, 2018 4:41 am
» هديه للجميع 500 نك فلوود قديم شغالين 500 old ids flood free by christian777 Mon Apr 09, 2018 6:37 pm
» Freebuzz & Nimbuzz yadet bekheyr ! by DARK Thu Apr 05, 2018 1:54 pm
» new flood 2018 فلود جديد يعمل على جميع انواع نكات لفلود القديمة والجديدة by christian777 Fri Oct 20, 2017 6:20 am
» STEALTH PROJECT WEB FLOOD NIMBUZZ by djsaim Sat Sep 30, 2017 8:51 pm
» XIO server & online bots by ltc_mkt Mon May 29, 2017 8:12 pm
» فریباز دوباره برمیگردد by Mer+sad Thu Apr 06, 2017 3:34 am
» Xio Server Updated Elite Version by lekshmi321 Wed Mar 29, 2017 11:35 am
» Join MulTi id nimbuzz 2016 by sami-alarifi Mon Dec 05, 2016 3:09 am
» انجمن تیم امنیتی آنانیموس سکوریتی by shirsefat Thu Nov 17, 2016 6:12 pm
» Xio Server Latest Version by shirsefat Thu Nov 17, 2016 6:04 pm
» amooZesh kamele hack dar yek file pdf by shirsefat Fri Nov 11, 2016 2:23 am
» CRACKER IDS 2017 WORKING by abdo-osmana Sat Oct 29, 2016 1:43 am
» NEW ... ROOM ANTI CAPCHA 2017 DESTROY ROOMS V 4 BY AL-JOOOCKER@N.C by abdo-osmana Sat Oct 29, 2016 1:41 am
» NEW FLOOD ROOM AND PV 2017 ANTI CAPTCHA by abdo-osmana Sat Oct 29, 2016 1:30 am
» add new server Work 24 hours --- تحديث حسابات السيرفرات قم بــاضافه السيرفرات الجديده تعمل 24 ساعه by abdo-osmana Sat Oct 29, 2016 1:28 am
» new auto id maker by sandy_rawat Tue Oct 04, 2016 4:24 pm
» wonderful list id arbic for crucker اكبر ليستة ايملات تخمين جديدة by christian777 Sun Sep 25, 2016 12:59 am
» New Abdo Cobra Auto Id maker Source code working by Kash007 Sat Sep 24, 2016 10:26 pm
» 2000 id flood free by christian777 Sun Sep 18, 2016 3:54 am
» new ip address changer with crack@pishaash@n.c by cebecis Sat Sep 10, 2016 3:19 am
» تجسس على الخصوصية by majed5160 Thu Aug 25, 2016 3:26 am
» سلام دوستان من by majed5160 Wed Aug 24, 2016 3:10 am
» Trusted online server bots by bom Fri Aug 19, 2016 7:59 pm
» فلود جديد ناررررر by christian777 Sat Aug 13, 2016 10:12 am
» Receive Captcha in PVT C# and VB.NET source code available by wathk Thu Jul 28, 2016 3:01 am
» Attention nimbuzz users ! by -namakul- Tue Jul 26, 2016 8:27 pm
» Salam man az karbqraye qadimiton hastam lotfan komakam konid :( by SALIJON* Sat Jul 23, 2016 6:34 pm
» Nimbuzz stylish ids for sale by msb Wed Jul 20, 2016 12:33 pm
» Nuke Mobileserver V9 by launchar Tue Jul 19, 2016 1:51 pm
» help me please c sharp masters by launchar Tue Jul 19, 2016 1:39 pm
» salam be dostane qadimi hamgi join bedin bebinm kojain :P by ghaz_ghaz90 Sat Jul 09, 2016 12:22 am
» Xio Server Update by ghaz_ghaz90 Fri Jul 08, 2016 11:15 pm
» Xio Auto Capcha ID Maker ( FASTEST IDMAKER EVER) by karthik~ajay Thu Jul 07, 2016 10:59 pm
» All web defacers and SQLi hach by mitu143 Thu Jun 16, 2016 1:24 pm
» special daface pages FreeBuzz-Team by mitu143 Thu Jun 16, 2016 12:59 pm
» Meet A Stranger Room Advertizer BoT by lekshmi321 Sun Jun 05, 2016 5:14 pm
» NEW STEALTH PROJECT WEB FLOOD NIMBUZZ by gentarbumi Sun Apr 24, 2016 10:08 pm
» Moving the write using HTML تحريك الكتابة باستخدام جافا سكرييت by faris.jra7 Sat Apr 23, 2016 11:40 pm
» فلود غرف النيمباز by saeid Sat Apr 16, 2016 12:43 am
» How to Show Hidden Files and Folders In Windows 7 by i_am~the_best Fri Apr 15, 2016 8:45 am
» How to Earn Money Online From PTC Sites by i_am~the_best Fri Apr 15, 2016 8:43 am
» Create Id and Chat by star.iraq Sun Apr 10, 2016 2:51 pm
» Addlist DC + hanger + remote v2.0 by oye Tue Apr 05, 2016 9:18 am
» XIO ADD FLOOD V.2 by lekshmi321 Fri Mar 25, 2016 8:37 pm
|
| | how to make welcome bot??? | |
| | Author | Message |
---|
leopard T-SBD
Posts : 71 Points : 3991 Thanked : 0 Join date : 2012-09-10
| | | | admin Administrator
Posts : 651 Points : 10562 Thanked : 29 Join date : 2012-04-18 ASL : AFRA 19
| Subject: Re: how to make welcome bot??? Mon Sep 24, 2012 6:15 pm | |
| - Code:
-
If InStr(getdata, "<x xmlns='http://jabber.org/protocol/muc#user'>") <> 0 And Not InStr(getdata, "type='unavailable'") <> 0 Then Dim id As String id = Mid(getdata, InStr(getdata, "@conference.nimbuzz.com/") + 24) id = Left(id, InStr(id, "'") - 1) MsgBox id ' now u have joined ids string, just send mesage 2 rom Dim jid As String ' get gull jid jid = Mid(getdata, InStr(getdata, "jid='") + 5) jid = Left(jid, InStr(jid, "'") - 1) MsgBox jid End If | |
| | | avaze-bikasi T-SBD
Posts : 270 Points : 5849 Thanked : 0 Join date : 2012-08-19 ASL : 16 andimeshk
| Subject: Re: how to make welcome bot??? Mon Sep 24, 2012 7:32 pm | |
| reza jan be farsi migi???? | |
| | | leopard T-SBD
Posts : 71 Points : 3991 Thanked : 0 Join date : 2012-09-10
| Subject: Re: how to make welcome bot??? Fri Oct 05, 2012 1:13 pm | |
| thaks for code bro id = Mid(getdata, InStr(getdata, "@conference.nimbuzz.com/") + 24) whats this 24 mean :*HYPNOTIC*: :*HYPNOTIC*: | |
| | | admin Administrator
Posts : 651 Points : 10562 Thanked : 29 Join date : 2012-04-18 ASL : AFRA 19
| Subject: Re: how to make welcome bot??? Sat Oct 27, 2012 4:22 pm | |
| mid have 3 argoment mid(string, start as long, optional length) e.g : we have a string=> [email=id='leopard@nimbuzz']id='leopard@nimbuzz'[/email] and we wanna get a substring of our string and we know our number of string characters( our string is punctual(Static)) so we can set our mid start argument easy - Code:
-
dim a as string
dim result as string
a= "[email=id='leopard@nimbuzz.com]id='leopard@nimbuzz.com[/email]"
result = mid(a, + 5)
msgbox result but occasionally our string not static and We do not know the starting number so we have to use of instr method to set our start number of from where instr have 4 potional argument instr(start, string1, string2, comparemethode) - Code:
-
dim a as string
dim result as string
a= "lskhdsdlljhduhsd sgdsdfsf [email=id='leopard@nimbuzz.com]id='leopard@nimbuzz.com[/email]" ' not static string
result = mid(a, instr(a, "id='") + 4) ' we set our start value 4 character after "id='"
msgbox result I hope it will be helpful this comment | |
| | | chandrachandrarai T-SBD
Posts : 2 Points : 952 Thanked : 0 Join date : 2012-10-30
| Subject: Re: how to make welcome bot??? Tue Oct 30, 2012 8:30 pm | |
| - Admin wrote:
-
- Code:
-
If InStr(getdata, "") <> 0 And Not InStr(getdata, "type='unavailable'") <> 0 Then Dim id As String id = Mid(getdata, InStr(getdata, "@conference.nimbuzz.com/") + 24) id = Left(id, InStr(id, "'") - 1) MsgBox id ' now u have joined ids string, just send mesage 2 rom Dim jid As String ' get gull jid jid = Mid(getdata, InStr(getdata, "jid='") + 5) jid = Left(jid, InStr(jid, "'") - 1) MsgBox jid End If what he needs...is this code FOR WELCOME BOT - Code:
-
If InStr(getdata, "") <> 0 And Not InStr(getdata, "type='unavailable'") <> 0 Then
Dim id As String id = Mid(getdata, InStr(getdata, "@conference.nimbuzz.com/") + 24) id = Left(id, InStr(id, "'") - 1) socket.senddata "<message to='" & room.Text & "@conference.nimbuzz.com' type='groupchat'><body> " + id + " Welcome" </body></message>"
via this code if vampyr id enters room then your bot will say vampyr Welcome same can be repeated for leaving users if bot wants to say bye or something it goes like this FOR BYE BOT - Code:
-
If InStr(getdata, "type='unavailable'") <> 0 Then Dim leftid As String leftid = Mid(getdata, InStr(getdata, "@conference.nimbuzz.com/") + 24) leftid = Left( leftid , InStr( leftid , "'") - 1)
socket.senddata "<message to='" & room.Text & "@conference.nimbuzz.com' type='groupchat'><body> " + leftid + " Bye" </body></message>"
bot will say vampyr Bye all done I-) add [You must be registered and logged in to see this link.] for all kinda bots i can help u with vb6 projects...but on weekends only...nice forum btw SAME METHOD CAN BE REARRANGED FOR BAN BOTS ;-) IF YOU GOT THIS CODE ...ENJOY
Last edited by chandrachandrarai on Tue Oct 30, 2012 8:50 pm; edited 1 time in total (Reason for editing : Bye code) | |
| | | chandrachandrarai T-SBD
Posts : 2 Points : 952 Thanked : 0 Join date : 2012-10-30
| Subject: Re: how to make welcome bot??? Tue Oct 30, 2012 8:34 pm | |
| they're beginners teach them full codes I-) dnt expect them to learn from msg box lol not everyone gets it easily wt to do next:d...it is a fake id wont be replying anymore | |
| | | ahoora94 T-SBD
Posts : 212 Points : 977 Thanked : 5 Join date : 2012-09-05 ASL : Khoz-Izeh-MiR Nimbuzz Id : q(-_o)p@n.c
| Subject: Re: how to make welcome bot??? Sat Nov 03, 2012 10:06 pm | |
| dadash mishe in coda ro ke mizarin file proje ro ham bezarin?
dasteton dard nakone | |
| | | Sponsored content
| Subject: Re: how to make welcome bot??? | |
| |
| | | | how to make welcome bot??? | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |