User Control Panel
Advertisements

HELP US, HELP YOU!

addcontact

 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol
View unanswered posts
Author Message
malefactor
Member
Member


Joined: 27 Jan 2005
Posts: 109
Location: Lewiston, ME
Reputation: 17.7Reputation: 17.7

PostPosted: Sun May 22, 2005 11:21 am    Post subject: Reply with quote

I'm trying to add a contact with echobot...
even the simple code
Code:
$msn->addcontact("noone@here.com");
isn't working. It just returns 0.
Am I missing something?
Back to top
mat007
Almost An Agent
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Sun May 22, 2005 12:35 pm    Post subject: Reply with quote

addContact i think
Back to top
Cer
Upgraded Agent
Upgraded Agent


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

PostPosted: Sun May 22, 2005 1:03 pm    Post subject: Reply with quote

QUOTE(malefactor @ May 22 2005, 07:21 AM)
I'm trying to add a contact with echobot...
even the simple code
Code:
$msn->addcontact("noone@here.com");
isn't working.  It just returns 0.
Am I missing something?
[right][snapback]48407[/snapback][/right]


You can't use the @ symbol inside double quotes, Perl thinks you're using the array @here (it's probably giving you a warning "Possible unintended interpolation of array @here in string").

Put a \ before the @ or change it to single quotes:

Code:
$msn->addContact ('noone@here.com');<br /><br />--or--<br /><br />$msn->addContact ("noone\@here.com");

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
malefactor
Member
Member


Joined: 27 Jan 2005
Posts: 109
Location: Lewiston, ME
Reputation: 17.7Reputation: 17.7

PostPosted: Sun May 22, 2005 5:43 pm    Post subject: Reply with quote

Thanks guys, I new it had to be something stupid. Guess I just needed a fresh pair of eyes Very Happy
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