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

C# 

Skyper skype bot (with plugin system for custom commands)

Hey,

I recently made a skype bot with an awesome plugin system wich will let you add your own commands. It works for group chat etc.

Sending a message code:
PHP Code

<?php 
Skyper
.SendMessage(chat, "Message"); 

It comes with the following plugins:
  • !Help - it shows a list of the commands

  • !Resolve - resolves a skye (use own api)

  • !info - shows bot info

  • !spoof - sends a email from a fake receiptent (use own mail script)

  • !say - let's the skype bot talk

  • !Sumbody - Says a weird text

  • !isup - checks if a site is up



functions:
  • Plugin system

  • Automaticly accept friends

  • Only you can use the commands



Plugin template:
PHP Code

<?php 
using System
;
using System.Collections.Generic;
using System.Text;
using Skyper;
using SKYPE4COMLib;
namespace 
Skyper.plugins
{
    public static class 
Help
    
{
  public static 
string Description
  
{
    
get 
    
{
    return 
"Your plugin description";
    }
  }

  public static 
void Execute(string[] Params, int chat, string username)
  {
//add code here
  
}
    }
} 

Adding a plugin:
  1. Create a file called {PLUGINNAME}.cs with the template as content

  2. enter a description

  3. enter some code in the execute funcition

  4. say !{PLUGINNAME} to use your plugin!



php mail script:
PHP Code

<?php
if(isset($_GET['to']))
{ 
$to = $_GET['to'];
$to = trim($to);
$from = $_GET['from'];
$headers = "From:" . $from . "\r\n";
$subject = $_GET['subject'];
$message = $_GET['message'];
if(
mail($to,$subject,$message,$headers))
{
echo 
"message Sent!";
}
else
{
echo  
"message did not send!";
}
}
?>

Download: http://t09.nl/skyper.rar
Mirror: https://mega.co.nz/#!MIpSmTRC!ROBX5wB6CY...5HzJWO9pm8
Virusscan: https://www.virustotal.com/nl/file/ab8da...363461314/

Live demo: skyper.bot

Prestige

I don't know why this was deleted while it is just a genuine release?
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.
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?
(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
(Mar 19, 2013 02:00 PM)Para_Merc Wrote:  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

That would be great! I just figured out how to make the bot say a random number from 1-100, but after hours of reverse engineering lol!
(Mar 17, 2013 08:41 PM)Para_Merc Wrote:  But one must know C# in order to make their own command.
Not if a scripting system was implemented then you could have .txt files with a script that the bot interprets and voila!
Thanks alot! I will try this today!

Thanks again m8!
If anyone has more commands or plugins that they make, post the code in this thread , please. Thanks :)
Wow shit, thanks for this :) I've been dabbling in making my own for a little while, but I was always put off by making the base for it :P I'm lazy, I know.

Either way, Im going to make some plugins for this :)
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
██ 📿 🔮 🫀 ⚡️ 🥣 ██
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
(Mar 20, 2013 10:52 AM)Local Celeb Wrote:  Wow shit, thanks for this :) I've been dabbling in making my own for a little while, but I was always put off by making the base for it :P I'm lazy, I know.

Either way, Im going to make some plugins for this :)

Moist, if you make any new ones, mind posting the code here im trying to Learn some C# along with make a cool bot ;)
I've been getting "Error 'System.Net.WebClient.DownloadString(string)' is a 'method' but is used like a 'type' in Command: isup".
please someone post more commands if they get it to work , thanks in advance :)
Might be gravedigging.

But looks cool, going to try add my own commands.
Hey plurox, if you make any more commands, mind sharing the code?Thanks.
This is awesome... exactly what I was looking for! And the plugin feature is excellent. Many thanks Prestige! :D

EDIT: An awesome feature to have would be an auto-responder!
[Image: yGwapGp.jpg]


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