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 

Some kind of database script.

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
froost
Voice


Joined: 09 Sep 2005
Posts: 4

PostPosted: Mon Sep 12, 2005 7:19 pm    Post subject: Some kind of database script. Reply with quote

I cant find any script´s that has something simular, egglearn.tcl was the closest i could find.. But it lacked some commands.
If anyone knows a script i could use, it would be great Smile
Otherwise, would the script be to big to request here ?
No flags are needed.

Its something like this im looking for.

!subny <nick> alien 2 (adds a new line in a file, froost alien 2)
Bot replies: "Alien 2 added"


!edit <nick> Alien 2 (edits the "input" "alien 2" !edit froost alien)
Bot replies: "has been edited"

!bort <nick> (removes the whole line that was added by the <nick>, !bort froost)
Bot replies: "has been removed"

!visa <nick> (shows the input that was added by the <nick>, !visa froost, then "alien 2 shows")


!hitta *alie* ("search wildchars in the .txt")
Bot replies: found 1 match


And this would be saved in a .txt in lines like this:

froost alien 2
egge Alien 3
eggi alien 14


And for a seperate file.

?klar Beer is great (adds the line, Beer is great)
?bort Beer is great (removes that line in the file)

And this would be saved in second .txt file like this:

Beer is great
Whiskey
car
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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