|
| Author |
Message |
JTW God Like

Joined: 07 Mar 2004 Posts: 582 Location: Maidstone
  votes: 4
|
Posted: Tue Apr 12, 2005 1:51 pm Post subject: |
|
|
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

Joined: 01 Nov 2003 Posts: 1434
 
|
Posted: Tue Apr 12, 2005 5:12 pm Post subject: |
|
|
| 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

Joined: 19 Jul 2004 Posts: 556 Location: Los Angeles, CA
  votes: 1
|
Posted: Tue Apr 12, 2005 6:06 pm Post subject: |
|
|
msnSearch is a Switchboard function .....so you sould be calling it with:
$self->msnSearch(......
(btw is msndev.com not .org ) _________________ [ matt ] |
|
| Back to top |
|
 |
|