This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

another scripting question

Old posts that have not been replied to for several years.
Locked
e
eiSi
Halfop
Posts: 70
Joined: Thu Mar 07, 2002 8:00 pm

Post by eiSi »

hi there!

it's me again :smile:

how to make, that if a user with the m flag types "where are you" in a query, the bot sends the channels where it's in?

thanks for your help! :smile:
Greetz,
eiSi
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

whats wrong with just /msg bot status pass?
e
eiSi
Halfop
Posts: 70
Joined: Thu Mar 07, 2002 8:00 pm

Post by eiSi »

mmh i don't know... i just want to know the technique behind the command... but if the source is included already, i will have a look there! sorry and thx! :smile:
Greetz,
eiSi
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

The answers are all in tcl-commands.doc.

If you want to respond to "where are you" in a query, you need a msg or msgm bind. Msg binds are only one word, msgm binds can be multiple words.

To get a list of the channels the bot is on, you need to use the 'channels' command.

To send a message back to the user, you need the 'putserv' command.

One thing that might help you is to download some scripts and look at how they do things. Once you see some examples of binds and procs, it's pretty easy.
e
eiSi
Halfop
Posts: 70
Joined: Thu Mar 07, 2002 8:00 pm

Post by eiSi »

ok thx again!
Greetz,
eiSi
Locked