User Control Panel
Advertisements

HELP US, HELP YOU!

Ink command for WW2

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl
View unanswered posts
Author Message
Rodderzz
Newbie
Newbie


Joined: 09 Sep 2005
Posts: 1
Location: Ohio, USA
Reputation: 8Reputation: 8Reputation: 8Reputation: 8Reputation: 8Reputation: 8Reputation: 8Reputation: 8

PostPosted: Fri Sep 09, 2005 8:12 pm    Post subject: Ink command for WW2 Reply with quote

Hey guys..I've been messing around with WW2, and I made this command but it seems to not work..Its for the bot 2 show ink. There is no error on the prompt and when I do the command the bot says "0" So anyways, here's the code
Code:
# Made for the White Warrior Template
# Description: {lang_description}

sub ink1
{   
   my ($ww, $medium, $username, $friendly, $msg, $char, $self) = @_;
   
$self->sendraw('base64:APcFHAOAgAQdBOAH4gEDCkgRRICA/AdFyAEZFDIIAIAQAgAAAEIzCACADAIAAABCFauq00GrqtNBAFjVPgAAAL8KJTuC/gCj+AKbFgFgAsBYsAsBYACC/ZH7LUiwSg3FiykssAlBKAAKkwGrAoL9oftEllixKEplssspKQsWWUEspYssWWVLKlAAALFixSWWWWUCUAAwAAAS5SVbFipZZZUpKJQAAssWVLLKlCUCpZYssBKABACwsIL8pflUlJUqUJSWVLLCyxYWAAllSypZYsAAAAWBYLLLLLKBKCUASgAASiVLKlRZYWLCwWAABZYsWWWVKEoAlAAlAAoBKSgKcdYBgv4EU/gRdKEoSgACwJQlllixYAAEqVFiyyxYBYWAAiygAAsLLFlSgAAFhYWLLLLLLLLLKlSiUIL8/fn9YFgWAAlhYWLBZZYsWAABYsXmiyypUsqUlCUJQAAsWWWWVLKlAAAJSUlSyykpLLLFiwWACihUgv4GA/gYFYBYAAAAAAAAASgJQIL8LfhVYBYEoASksoAACWLFAAAACiA5gv4HA/gcMCUAJbCwLCwAAEqC/NH5pAsACwAAAAASgAokRYL+CGv4IbAAAAAAlAASgACC/FH4nRYLCxc2WVKJRKAAFgAACh81gv4JQ/glMAACUAASgCUAgv2p+1QAEolAJQShKJQACiQogv4IY/ghsSyypSWWWLLLLFliwIL8TficSyywAWLLLLFliwAKGzWC/gpT+CkwlAAAACUAAIL9tftsFgAAAAAAAAo/d4L+CzP4LNFgsFgBYAALAALAFgAAoSyyxYWLCxYsWKCC/an7XEoAAFiyyyoCxUWAABYWACCLLLFhYsLAsWKACnDXAYL+DKP4MnAAEFiiyyyyypUpKAsqUAAAwCUWALFixYWCxZZYssqUAAWLFllllllSkosJUpKlAACC/DH4ZAACC5sWWWFgsWFgCypSUAAAEolSyyypUqWWWLLFgSrAAALAssssssqUlSykqUlSgAAA');

}
1;
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Fri Sep 09, 2005 8:48 pm    Post subject: Reply with quote

In your sendraw command you'd need to give a full message to MSN's server. I'm assuming that that includes commands other than just a message. It'd include headers such as type (typing, message, nudge, whatever). So just sending MSN a base64 ink wouldn't get you anywhere.

And the sending of "0" might be because WhiteWarrior expects something returned by your commands and you're returning nothing.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Fri Sep 09, 2005 9:14 pm    Post subject: Reply with quote

Rod: Wouldn't it be easier to $self->sendInk($ink) and then return "Ink shown", or something. You cannot use $self->sendraw directly from the MSN.pm, nor from any commands, however, $self is passed, so you can do $self->sendInk [if it exists...]
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group