![]() |
|
Skyper ~ the skype bot - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework) +--- Thread: Skyper ~ the skype bot (/Thread-Skyper-the-skype-bot) |
Skyper ~ the skype bot - Prestige - 03-16-2013 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: Skyper.SendMessage(chat, "Message");
It comes with the following plugins:
functions:
Plugin template: PHP Code: 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:
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!ROBX5wB6CYqNqFqlG_OIpRVR05sP9Z3Dy5HzJWO9pm8 Virusscan: https://www.virustotal.com/nl/file/ab8dacd8e9a54e86638952d1a62ddaac29e4a4a7ee8488dfb0a2edeb71a98c4a/analysis/1363461314/ For any questions hit me up at skype (T09.nl) or pm me Live demo: skyper.bot Prestige RE: Skyper ~ the skype bot - Complibur - 03-17-2013 Hey this is pretty cool! Downloading now ! Thanks, Processor RE: Skyper ~ the skype bot - Oni - 03-17-2013 Very neat. Is the one i0xIllusion making based off this? RE: Skyper ~ the skype bot - i0xIllusi0n - 03-17-2013 (03-17-2013, 01:07 AM)The Anarchist Wrote: Very neat. Is the one i0xIllusion making based off this? No, he actually based a couple features off mine. I'll be releasing mine tonight, I'm having The End run a vouch copy. RE: Skyper ~ the skype bot - cxS - 03-17-2013 Not the best method for a plugin wrapper, and the code isn't all that great, but nonetheless good idea on the release. I'm assuming that this was written in C#? One of the most redundant lines I've ever seen: Code: Replace('\t', ' ').Replace('\r', ' ').Replace(Environment.NewLine, "").Replace(" ", "").Trim()There's a few other things I was looking at as well however. RE: Skyper ~ the skype bot - Prestige - 03-17-2013 (03-17-2013, 06:48 AM)cxS Wrote: Not the best method for a plugin wrapper, and the code isn't all that great, but nonetheless good idea on the release. I'm assuming that this was written in C#? Yeah it is C# and the getcode and getnamespace where actually from Bausshacker |