egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Spreedsheat lookup + Bot trigger script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
AudiAddict
Voice


Joined: 28 Aug 2007
Posts: 11

PostPosted: Fri Nov 02, 2007 4:24 am    Post subject: Spreedsheat lookup + Bot trigger script Reply with quote

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.
Back to top
View user's profile Send private message
smash
Halfop


Joined: 31 Jul 2006
Posts: 45

PostPosted: Fri Nov 02, 2007 8:43 am    Post subject: Reply with quote

Code:
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!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber