User Control Panel
Advertisements

HELP US, HELP YOU!

**NexusBot Commands Needed**

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Code Help
View unanswered posts
Author Message
Cheater
Senior Member
Senior Member


Joined: 10 Jun 2005
Posts: 236

Reputation: 15.8Reputation: 15.8

PostPosted: Mon Jun 13, 2005 6:14 pm    Post subject: **NexusBot Commands Needed** Reply with quote

Here are some commands that I need. If it is impossible to add them, let me know.

A way for me (master) to have the bot say something to another user (send IM through bot)

***A bot mail type program (people send mail to other people using their sn. You can read the mail through my bot)

A way for me to have the bot have a set first message that he sends after the other person sends their first message (unless it is a command that was sent)

A way to make a file that pretty much says:
If user says: XXXXXX
then
bot replies with: YYYYYYY



I am new to all this bot stuff, so if you could please explain in as much detail how to set up the command that would be great (comments in the coding also help)


Remember...NexusBot


***I figured out what to do, just need to make it


Last edited by Cheater on Tue Jun 14, 2005 1:05 pm; edited 2 times in total
Back to top
JTW
God Like
God Like


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

PostPosted: Tue Jun 14, 2005 1:25 am    Post subject: Reply with quote

Quote:
A way for me (master) to have the bot say something to another user (send IM through bot)

The msn.pm has a function for this i belive it is called "call"

Quote:
A bot mail type program (people send mail to other people using their sn. You can read the mail through my bot)

When person X sends a message to person Y you would open persons Y inbox print the message and say that person x sent it then close it. It is the same for person y Just reverse
Back to top
JTW
God Like
God Like


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

PostPosted: Tue Jun 14, 2005 1:27 am    Post subject: Reply with quote

opps sorry Double post

Can a moderator please delete this
Back to top
Cheater
Senior Member
Senior Member


Joined: 10 Jun 2005
Posts: 236

Reputation: 15.8Reputation: 15.8

PostPosted: Tue Jun 14, 2005 12:00 pm    Post subject: Reply with quote

JTW wrote:
Quote:
A way for me (master) to have the bot say something to another user (send IM through bot)

The msn.pm has a function for this i belive it is called "call"


Too bad I use AIM. And for the mail thing, I figured out how to do it. Now, I just need to make the coding.
Back to top
Cer
Upgraded Agent
Upgraded Agent


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

PostPosted: Tue Jun 14, 2005 2:18 pm    Post subject: Re: **NexusBot Commands Needed** Reply with quote

Cheater wrote:
A way for me (master) to have the bot say something to another user (send IM through bot)


So for AIM you'd just use $self->send_im. Check the source of the other botmaster-only commands to see how it enforces the botmaster-onlyness of the command. And then you can get the screenname and message from the user's $msg (hint: use split and check if $message is defined), and then just $self->send_im ($screenname, $message)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Code Help 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