User Control Panel
Advertisements

HELP US, HELP YOU!

kind of a basic problem.

 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol
View unanswered posts
Author Message
JTW
God Like
God Like


Joined: 07 Mar 2004
Posts: 582
Location: Maidstone
Reputation: 73.3
votes: 4

PostPosted: Tue Apr 12, 2005 1:51 pm    Post subject: Reply with quote

Hey everyone.

I was wondering that if i added a sub in switchboard.pm is there any where extra i have to define it as right now i get the following error
Quote:
Can't call method "msnSearch" on unblessed reference at ./commands/1/beta.pl line 3.
I am assuming the code works as it is from msndev.org .

Thanks in advance for any help you can give me

_________________
"Help us, Help you" - BotDepot
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Tue Apr 12, 2005 5:12 pm    Post subject: Reply with quote

That error means that you are calling $msn->msnSearch or something similar and $msn is not defined correctly. The only way we can help you is if you show us some code.
Back to top
mattaustin
Sentinel
Sentinel


Joined: 19 Jul 2004
Posts: 556
Location: Los Angeles, CA
Reputation: 50.7
votes: 1

PostPosted: Tue Apr 12, 2005 6:06 pm    Post subject: Reply with quote

msnSearch is a Switchboard function .....so you sould be calling it with:

$self->msnSearch(......



(btw is msndev.com not .org Razz)

_________________
[ matt ]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol 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