| View previous topic :: View next topic |
| Author |
Message |
fayettemat Voice
Joined: 09 Jan 2007 Posts: 27
|
Posted: Sat Feb 17, 2007 3:29 am Post subject: public sending of notes |
|
|
I think there is a way to do this but I'm not sure of a few things:
1)binding to use
2) syntax that is needed
3) how I can script it
can anyone please answer those things that I need help on? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
|
| Back to top |
|
 |
fayettemat Voice
Joined: 09 Jan 2007 Posts: 27
|
Posted: Sat Feb 17, 2007 5:21 am Post subject: |
|
|
| ok rosc2112 thanks for that, now I need to know HOW to read the notes via a public trigger is there anyway? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Feb 17, 2007 2:42 pm Post subject: |
|
|
Hmm well, I thought it would be possible if you were logged in with the bot, but nope, you'd have to give your password in public. Here's the msg commands tho:
| Quote: |
/msg botnick notes <password> index
Lists all the notes stored up for you.
/msg botnick notes <password> read <# or ALL>
Will display some notes for you, or, if you use read all, it will show you every note stored for you. # may be numbers and/or intervals separated by semicolon. Example:
notes read 2-4;8;16-
/msg botnick notes <password> erase <# or ALL>
This works like read, except it erases whichever note you tell it to (or all of them).
/msg botnick notes <password> to <nickname> <message...>
Stores a note to someone, as long as the bot knows the specified user. They will be informed of a note waiting for them the next time they join the channel.
Examples
/msg botnick notes secret7 Doofus Doofus, please stop kicking people from the channel, everyone is complaining about you.
|
All you should really need via a public command, is a help file to remind you of the msg commands. Something like:
| Code: |
bind pub - !notes proc:notehelp
proc notehelp {nick uhost hand chan text} {
puthelp "PRIVMSG $nick :here's the msg commands for the notes system:"
puthelp "PRIVMSG $nick :blah blah blah, etc etc etc, all the help stuff, one line at a time, etc"
}
|
Also keep in mind, only users in the bots userfile can use the bot's note system. If you want non-users to have access, check the archive for the before-mentioned notes scripts. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|