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

Old posts that have not been replied to for several years.
Locked
_
_FireStorm_
Voice
Posts: 10
Joined: Fri Dec 12, 2003 4:01 pm

request

Post by _FireStorm_ »

hi all! i just want to know if there is a script like this:

only user with +o flag can add some words or sentences in bots database and later everyone can read them..
for example:
[12:08:16] <FireStorm> !text bla bla bla bla bla bla bla
[12:08:17] <ChannelBot> FireStorm, your text added to database

[12:09:32] <FireStorm> !text blaaaaaaaaaaaaaaaaaaaaaaaa
[12:09:33] <ChannelBot> FireStorm, your text added to database

[09:10:41] <User> !text all
[09:10:42] <ChannelBot> User, I have 2 txt's in my database

[09:11:02] <User> !text 2
[09:11:03] <ChannelBot> FireStorm: "blaaaaaaaaaaaaaaaaaaaaaaaa"

hope you catch my idea :) ... plz help me
Image
R
Rob
Voice
Posts: 25
Joined: Thu Aug 01, 2002 1:21 pm

Post by Rob »

Try these 2 scripts

infoegg
MyLearn

May not be what you want, but its the closest I can think of.
J
Jagg
Halfop
Posts: 53
Joined: Sat Jan 24, 2004 11:32 am

Post by Jagg »

I think

egglearn

is sth. you want.....
_
_FireStorm_
Voice
Posts: 10
Joined: Fri Dec 12, 2003 4:01 pm

Post by _FireStorm_ »

all these tcl's are based on word explanation ... but i need that:
i can add sentences or just a few words and latter bot (when triggered) jus shows how many records are been made...

<FireStorm> !text all
<Bot> I have 164 records i my db
--->
<FireStorm> !text bla bla bla bla bla
<Bot> text added
--->
<FireStorm> !text 123
<Bot> bababababababa <-- this was added earlier ...

hope you catch my idea, so plz help me :oops:

P.S.
Sorry 4 my terible english :cry:
Image
J
Jagg
Halfop
Posts: 53
Joined: Sat Jan 24, 2004 11:32 am

Post by Jagg »

_FireStorm_ wrote:all these tcl's are based on word explanation ... but i need that:
i can add sentences or just a few words and latter bot (when triggered) jus shows how many records are been made...
:-? Then egglearn is what you want :-? !?!?
<FireStorm> !text all
<Bot> I have 164 records i my db
You can use

#Trigger to read number of db lines
set eglrn(dblines) !db-lines

for that or also

#Trigger to read the db size in bytes
set eglrn(dbsize) !db-size
or
#Trigger for searching records
set eglrn(search) !findb
<FireStorm> !text bla bla bla bla bla
<Bot> text added
This is....

#Trigger for adding records
set eglrn(add) !add
<FireStorm> !text 123
<Bot> bababababababa <-- this was added earlier ...
This is....

#Trigger for read records
set eglrn(define) !explain

When you make "!explain *" the bot tells you all words it has like...
"<Heart> !explain *
<HeartBot> Found 14 records: margin, initial,....." and so on


So, this is exactly what you want, isn't it :-? :roll: :o ?
_
_FireStorm_
Voice
Posts: 10
Joined: Fri Dec 12, 2003 4:01 pm

Post by _FireStorm_ »

no i don't want the explain function :-? ....

i just want to add sentences to database and later just write !text 11 or !text 506 or !text 14 and watch what i have added earlier :o

i don't need to explain words ...

<F> !text blablablabla
<B> added to db with nr.1
......
<F> !text blaaaaaaaaa
<B> added to db wirh nr. 156
......
<F> !text kkkkkkkkkkkkkkkk
<B> added to db with nr. 321
......
<F> !text all
<B> i have 321 records in my db
......
<F> !text 156
<B> "kkkkkkkkkkkkkkkk"
......
<F> !text 1
<B> "blablablabla"
......
i don't know how to explain that ... it's like lotorey :) .... you write "!text 174" and bot just shows you record with nr 174 ....
something like that ... so once again i dont need to explain words ... i just want to add sentences to db and later when i write !text nr" it shows me the record :o
hope you get me this time
Image
_
_FireStorm_
Voice
Posts: 10
Joined: Fri Dec 12, 2003 4:01 pm

Post by _FireStorm_ »

no i don't want the explain function :-? ....

i just want to add sentences to database and later just write !text 11 or !text 506 or !text 14 and watch what i have added earlier :o

i don't need to explain words ...

<F> !text blablablabla
<B> added to db with nr.1
......
<F> !text blaaaaaaaaa
<B> added to db wirh nr. 156
......
<F> !text kkkkkkkkkkkkkkkk
<B> added to db with nr. 321
......
<F> !text all
<B> i have 321 records in my db
......
<F> !text 156
<B> "kkkkkkkkkkkkkkkk"
......
<F> !text 1
<B> "blablablabla"
......
i don't know how to explain that ... it's like lotorey :) .... you write "!text 174" and bot just shows you record with nr 174 ....
something like that ... so once again i dont need to explain words ... i just want to add sentences to db and later when i write !text nr" it shows me the record :o
hope you get me this time

damn sorry for double post :( got kind a lagy connection :( sorry
Image
D
DarkJFMan
Halfop
Posts: 85
Joined: Mon Dec 15, 2003 3:19 pm

Post by DarkJFMan »

If i'm getting you write, you're trying to store data in a while.

Well i looked here, and i found it it's very easy to make your scripts, all you need to follow is This
_
_FireStorm_
Voice
Posts: 10
Joined: Fri Dec 12, 2003 4:01 pm

Post by _FireStorm_ »

i'm really bad at all this scirpting and etc ... i was looking for ready script not for code :-? ... well 10x anyway ... maybe it's time to start learn all this coding stuff :)
Image
Locked