Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Skyper skype bot (with plugin system for custom commands)

It's pretty cool. I have also created a skype bot in C# with over 15 default commands. The plugin system is unique, but one must know C# in order to make their own command.
(Mar 18, 2013 04:43 AM)TheCl0wnhelper Wrote:  Hey Prestige :)

I just downloaded this yesterday this is awesome! Can you show more examples of commands that you can make? Like one that could load a random image from google or 4chan, something like that or say a random fact from a pair of facts?

Haha, that sounds a lot like Night from LF's Skype Bot, that shows random facts with the ".fact" command. It's easy, add me on Skype if you would like me to teach you.

Skype: mercenary.lf
Thanks alot! I will try this today!

Thanks again m8!
Might be gravedigging.

But looks cool, going to try add my own commands.
(Mar 22, 2013 02:07 AM)Neo_Incognito Wrote:  I've been getting "Error 'System.Net.WebClient.DownloadString(string)' is a 'method' but is used like a 'type' in Command: isup".

Fixed code:

using System;
using System.Collections.Generic;
using System.Text;
using Skyper;
using SKYPE4COMLib;
using System.Net;
namespace Skyper.plugins
{
public static class Help
{
public static string Description
{
get
{
return "[url] checks if a site is online";
}
}

public static void Execute(string[] Params, int chat, string username)
{
string Source = new WebClient().DownloadString("http://www.isup.me/" + Params[1]);
if (Source.Contains("It's just you"))
{
Skyper.SendMessage(chat, Params[1] + " is up");
}
else
{
Skyper.SendMessage(chat, Params[1] + " is down");
}
}
}
}

Before:
string Source = new WebClient.DownloadString("http://www.isup.me/" + Params[1]);
After:
string Source = new WebClient().DownloadString("http://www.isup.me/" + Params[1]);
It was missing a simple ()
Here's a plugin of my creation to got any source code from a web page.

Filename: source.cs
Usage: !source [URL]
Example: !source http://google.com

Quote:
Code
using System;
using System.Collections.Generic;
using System.Text;
using Skyper;
using SKYPE4COMLib;
using System.Net;
namespace Skyper.plugins
{
    public static class SourceCode
    {
  public static string Description
  {
    get
    {
    return "[URL] - Got the source code of a website.";
    }
  }

  public static void Execute(string[] Params, int chat, string username)
  {
    // This line write the source code of the url passed in params.
    Skyper.SendMessage( chat, new WebClient().DownloadString(Params[1]) );
  }
    }
}


Regards,
CraYK2.
WOW Thanks dude this is amazing, the plugin is just fantastic
thanks again :D
(Jul 7, 2013 12:22 PM)CraYK2 Wrote:  Here's a plugin of my creation to got any source code from a web page.

Filename: source.cs
Usage: !source [URL]
Example: !source http://google.com

Regards,
CraYK2.

Would you not use Params[0]?
Also; OP, how does the plugin system work?
thanks i have now my skype resolver working xD
Website: http://wiz4rdhack3rs.com/
Skype: wiz4rdhack3rs
Nice tool!
But i cant start it up anymore ;(
It worked a couple times but now it wont startup i dont know whats wrong please help me!
https://hackforums.net/showthread.php?tid=3737659

Seems like that one is a bit more structured and better written.
I've been using this and enjoy it but I'm curious if it's possible to make the bot work in Chat Groups as well?
I'm not sure this project is still active but you're welcome to contact me over Skype: NinjaKittenDerp
I will pay to have this function added if needed.
(Nov 23, 2014 05:55 PM)NinjaKitten Wrote:  I've been using this and enjoy it but I'm curious if it's possible to make the bot work in Chat Groups as well?
I'm not sure this project is still active but you're welcome to contact me over Skype: NinjaKittenDerp
I will pay to have this function added if needed.

The new Skype disabled the ability to do that, so I highly doubt there is even a chance of getting this to work, whether you pay someone to do it or not.
(Nov 24, 2014 12:52 PM)ᒪeumonic Wrote:  The new Skype disabled the ability to do that, so I highly doubt there is even a chance of getting this to work, whether you pay someone to do it or not.

My Unofficial Skype API works with groups :P :P
(Nov 24, 2014 01:35 PM)Cornflower Blue இڿڰۣ-ڰۣ— Wrote:  My Unofficial Skype API works with groups :P :P

I see haha. xD

I tried to reply to the thead linked in your signature but unfortunately it's not letting me due to 0 reputation. Also can not send PMs. Not sure what to do about that. e-e


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by BarretNov 11, 2017 09:53 AM 3 374 Nov 11, 2017 09:53 AM
Last Post: StaPol
[Python] by IchiApr 25, 2017 12:23 PM 4 253 Apr 25, 2017 12:23 PM
Last Post: (╯°□°)╯︵ ┻━━┻
[Java] by st0rmiiJul 9, 2016 04:49 PM 2 150 Jul 9, 2016 04:49 PM
Last Post: st0rmii