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.

Spreedsheat lookup + Bot trigger script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
A
AudiAddict
Voice
Posts: 11
Joined: Tue Aug 28, 2007 8:55 am

Spreedsheat lookup + Bot trigger script

Post by AudiAddict »

I'm looking for two scripts which work with the latest version of eggdrop

- We have some excel sheets (*.xls) is there a simple way of programming a bot to lookup data from these spreadsheets?

So if I type !reference referencenumber it would lookup a reference number in that excel sheet and post the data in that field?

Also, I'm trying to find a script which simply replies to certain words which are said by users.

if a user for example says test the bot would see that and say hey why are you testing?

I tried the script mc_respond it does exactly that, only it doesn't work with the latest eggdrop version it seems. It loads ok, no errors, but nothing happends when I try to add a word/trigger.
s
smash
Halfop
Posts: 45
Joined: Mon Jul 31, 2006 12:33 pm

Post by smash »

Code: Select all

proc pub_test {nick uhost handle chan args} {
global phrases botnick channel
set outputiz [lindex $phrases [rand [llength $phrases]]]
putserv "PRIVMSG $chan : $outputiz"
putlog "<<$nick>> !$handle! $botnick..."
}
bind pubm - "% *test*" pub_test
set phrases {
"hey why are you testing? "

}
quakenet #fraguk www.fraguk.com
hosting 113 scripts @ this time!
Post Reply