Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Skyper ~ the skype bot filter_list
Author
Message
Skyper ~ the skype bot #1
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:
  • !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:
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[] Paramsint chatstring 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/

For any questions hit me up at skype (T09.nl) or pm me

Live demo: skyper.bot

Prestige

Reply

RE: Skyper ~ the skype bot #2
Hey this is pretty cool! Downloading now !

Thanks,

Processor

Reply

RE: Skyper ~ the skype bot #3
Very neat. Is the one i0xIllusion making based off this?
[Image: fSEZXPs.png]

Reply

RE: Skyper ~ the skype bot #4
(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.
[Image: BAvhP6h.png]
Code:
[5:42:25 PM] i0xillusi0n: Breshie don't bust a nut over chloe now
[5:42:31 PM] Entity: fapfapfapfapfapfapfapfapfapfap
[5:42:33 PM] Jigglypuff | SL: EWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

Reply

RE: Skyper ~ the skype bot #5
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.
-- cxS

[ Haskell/.NET/C/C++ - Software Engineer ]

Reply

RE: Skyper ~ the skype bot #6
(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#?

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.

Yeah it is C# and the getcode and getnamespace where actually from Bausshacker

Reply







Users browsing this thread: 1 Guest(s)