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.

!request site.name tcl script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
d
digitalbleh
Voice
Posts: 4
Joined: Wed Jul 06, 2011 4:02 am
Location: Sydney

!request site.name tcl script

Post by digitalbleh »

Hi,

Im looking for a tcl script, that will allow people in channel to use !request sitename.com, id like it to store those requested sitenames and the nickname of who requested it, in say a .txt file on the bots shell. There should be no flags for the "!request site.name" command, any user can use it.

Id like to be able to view the lists of requests with a command in channel or dcc or message, something like !listrequests / .listrequests / /msg bot !listrequests, this command should only be used by people with a certain bot flag.

I would also like to be able to send a message to the channel and to the user when i have info for the requested site. Maybe by a command like "!fill nickname info-on-site". The fill command should message the user the info, and tell the channel that the "info has been given for nicknames request of site.com" Once the site has been "filled" and the info sent to the nickname requesting it, and announced to the channel that it has been done, id like to to remove the site.name from the list.

I would also need the script to be able to be turned off and on with a command like !requeston / !requestoff , this command should only be used by a person with a certain bot flag.

I have played a bit with tcl, but i really have no knowledge of how to go about making a tcl script like this for my eggdrop. Im not sure also if this will be too hard or not, please reply, or send me a message for my email.

Brendan.
w
willyw
Revered One
Posts: 1204
Joined: Thu Jan 15, 2009 12:55 am

Re: !request site.name tcl script

Post by willyw »

digitalbleh wrote:Hi,

Im looking for a tcl script, that will allow people in channel to use !request sitename.com, id like it to store those requested sitenames and the nickname of who requested it, in say a .txt file on the bots shell. There should be no flags for the "!request site.name" command, any user can use it.

Id like to be able to view the lists of requests with a command in channel or dcc or message, something like !listrequests / .listrequests / /msg bot !listrequests, this command should only be used by people with a certain bot flag.
One way to do it, would be a script that lets anybody send a note to you, using the bot's built in notes system.

I think this would not be complicated at all. .... probably very short.

Then, you can access those notes via partyline. Or via /msg, if you must.

I would also like to be able to send a message to the channel and to the user when i have info for the requested site. Maybe by a command like "!fill nickname info-on-site". The fill command should message the user the info, and tell the channel that the "info has been given for nicknames request of site.com" Once the site has been "filled" and the info sent to the nickname requesting it, and announced to the channel that it has been done,
Not yet 100% sure of what you want here.
It sounds like you want to be able to leave a message for the user when they are not present. To be delivered by the bot, when next they join.
Is this correct?

If this is based on nick, then it is not secure.
In other words, suppose we created a script such that you could leave a message for "Bozo".
Bot stores it.
Bot watches all joins.
A user with nick of Bozo joins, and bot delivers your message.
Bot is simply delivering it to the next nick that it sees that matches Bozo. It may, or may not be the Bozo you wanted to message.

This may be good enough, for whatever you are trying to do. We'll find out more when you reply.

I have a script that does just this, that I made some time ago. Totally unsecure. Based only on nick. It saves a message, and burps it back up, when next that nick joins.
What it is though, is super easy for anybody to use! :)
and, it is just for fun, silly messages.

id like to to remove the site.name from the list.
Automatically?
Could be tricky, if using the built in notes system.
Might be easiest to send you another message, telling you which one(s) to delete.

I would also need the script to be able to be turned off and on with a command like !requeston / !requestoff , this command should only be used by a person with a certain bot flag.
Usually, I do this with a command in the partyline.
I have played a bit with tcl, but i really have no knowledge of how to go about making a tcl script like this for my eggdrop. Im not sure also if this will be too hard or not, please reply, or send me a message for my email.
d
digitalbleh
Voice
Posts: 4
Joined: Wed Jul 06, 2011 4:02 am
Location: Sydney

Post by digitalbleh »

sorry this has now been made. i had a very nice person named arfer make the script for me. works very well
Post Reply