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.

Some kind of database script.

Old posts that have not been replied to for several years.
Locked
f
froost
Voice
Posts: 4
Joined: Fri Sep 09, 2005 4:20 pm

Some kind of database script.

Post by froost »

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 :)
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
Locked