Post: How to make a skype message spammer
10-01-2014, 10:38 PM #1
jagex
Gym leader
(adsbygoogle = window.adsbygoogle || []).push({}); Lately been seeing a lot of skype tools so I thought I would share how to make a simple message spammer

If there is an easier way, please free feel to share, I am always looking to improve my coding

Need to reference SKYPE4COMLib, should be located in C:\Program Files (x86)\Common Files\Skype
    using SKYPE4COMLib;


1. Attach your program to skype
     Process[] p = Process.GetProcessesByName("Skype");
if (p.Length != 1)
{
MessageBox.Show("Skype Not Running!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
else
{
try
{
mySkype.Attach(mySkype.Protocol, true);

}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
loadContacts();
timer2.Start();
Tasks();

}

2. Create a combo box
(This will store all your contacts)

3. Method to get all your contacts
     private void loadContacts()
{
foreach (User myFriends in mySkype.Friends)
{

cmb_Friends.Items.Add(myFriends.Handle);
}


}


4. Create an async task, this will refresh and load your contacts every 2 minutes
     async Task Tasks()
{

for (; ; )
{
cmb_Friends.Items.Clear();
loadContacts();
await Task.Delay(200000);
}

}


5. add a numeric up/down, spam button and spam all button from the tools

6. add this under your spam button
    
try
{
spamAmount = Numeric.Value;
string friend = cmb_Friends.SelectedItem.ToString();
if (cmb_Friends.SelectedIndex != -1)
{
for (int i = 0; i < spamAmount; i++)
{

mySkype.SendMessage(friend, txtBox_message.Text);
}
}
else
{
MessageBox.Show("Select a friend first!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Stop);
}
}
catch (Exception)
{
txtBox_message.Text = "Empty Message or Spam Amount Detected";
}
}


7. Add this to your spam all button
     foreach(User myFriends in mySkype.Friends)
{
try
{
spamAmount = Numeric.Value;
for (int i = 0; i < spamAmount; i++)
{
if (myFriends.OnlineStatus == TOnlineStatus.olsOnline | myFriends.OnlineStatus == TOnlineStatus.olsDoNotDisturb | myFriends.OnlineStatus == TOnlineStatus.olsAway)
{

mySkype.SendMessage(myFriends.Handle, txtBox_message.Text);
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);

}
}


edit: Extra

If you want to disable entering text or numbers into the contact list drop down menu you can use this
    private void cmb_Friends_KeyPress(object sender, KeyPressEventArgs e)
{
char ch = e.KeyChar;
if (char.IsLetterOrDigit(ch))
{
e.Handled = true;
}
}
Last edited by jagex ; 10-01-2014 at 10:40 PM.
10-12-2014, 04:46 PM #2
TePaiModz
I defeated!
Yt video would be so nice Needa
10-14-2014, 05:14 PM #3
What programming software did you use to make this if i may ask and also is there any good ones you would req?
10-14-2014, 11:34 PM #4
jagex
Gym leader
Visual Studios in C# language

I am not experienced enough to recommended a programming language unfortunately BUT I VB.net is a easy way to get into programming since it uses a lot of English syntax's.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo