Script Name:
man.tcl
Version: 1.0
Author: thepin
Script Date: 11/10/1998
Category: Info Scripts
Downloads: 65
File Name:
man.tcl.gz
Short Description:
Information storage/retrieval.
Extended Description File
# man.desc for man.tcl version 1.0 by thepin
##########################################################################
# This tcl is mostly controled via public commands:
# ?! to add a sentence (+o needed)
# ?? to request (msgs the channel if +o users uses it, else msg the user)
# ?- to delete a sentence (+o needed)
#
# And few dcc commands:
# .pubmsg add <#channel> to make the man.tcl work on channel
# .pubmsg rem <#channel> to make the man.tcl stop working on channel
# .pubmsg channels to see what channels man.tcl is working on
#
# TODO:
# add a file for each channel which have been added
# work with matchanattr, not only matchattr too
#
# If you have some ideas or questions email me at pin@slackware.mmedia.is
###########################################################################
# HERE is a example of how this is used:
first I add the tcl on LamestBot
and do .rehash
im on #sick and #sleeps
and lamestbot is on #sick and #sleeps too
<thepin:#sick> ?? eggdrop
I wait a bit, hmm nothing happens, eh
I find out what could be wrong, goto dcc chat
.pubmsg help
man.tcl 1.0 by thepin in the 1998
--------------------------------
USAGE: .pubmsg add <#channel>
USAGE: .pubmsg rem <#channel>
USAGE: .pubmsg channels
USAGE: .pubmsg help
--------------------------------
.pubmsg channels
This isnt available on any channel!
.pubmsg add #sick
added it to #sick
.pubmsg channels
This is available on #sick,
now i goto #sick to test
<thepin:#sick> ?? eggdrop
<LamestBot:#sick> eggdrop == man eggdrop
Hmm, i wanna add something else for eggdrop
<thepin:#sick> ?! eggdrop ftp.sodre.net (/pub/eggdrop/scripts1.3/man.tcl.gz)
<LamestBot:#sick> Added eggdrop to my list
<thepin:#sick> ?? eggdrop
<LamestBot:#sick> eggdrop == ftp.sodre.net (/pub/eggdrop/scripts1.3/man.tcl.gz)
YESS, it worx, lezz add some more
<thepin:#sick> ?! thepin 31337
<LamestBot:#sick> Added thepin to my list
<thepin:#sick> ?? thepin
<LamestBot:#sick> thepin == 31337
<thepin:#sick> ?! haha laugh
<LamestBot:#sick> added haha to my list
<thepin:#sick> ?? haha
<LamestBot:#sick> haha == laugh
hmm, that haha sux, let's remove it
<thepin:#sick> ?- haha
<LamestBot:#sick> Removed haha from my list
<thepin:#sick> ?? haha
<LamestBot:#sick> haha == man haha
hmm, im tired of that ?? manpages, go to dcc chat with LamestBot
.pubmsg rem #sick
Removed #sick from the list
<thepin:#sick> ?? haha
nothing happens so it worked to remove it out
few days l8r I wanna keep it on, not on #sick, on #sleeps, I go to dcc chat
.pubmsg add #sleeps
added it to #sleeps
<thepin:#sleeps> ?? thepin
<LamestBot:#sleeps> thepin == 31337
I think why that came, then I remember that I added it on #sick for few days,
and it's still in the storage file.
eof example for man.tcl ver 1.0