PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: ((UKSN))shad_dow on 05 July, 2004, 14:22:33

Title: how to search a txt file database
Post by: ((UKSN))shad_dow on 05 July, 2004, 14:22:33
Lo all ,


hears my prob , still haveing abit of trouble , i need to know the function to search a txtfile .. il explaine


say user does !search blue bottle

i need function to search the txt file for blue bottle

and return what it finds back to the user

thx

Title:
Post by: plop on 05 July, 2004, 15:33:13
check freshstuff 4.x for some hints, just that uses a database which is stored in memory.

plop
Title:
Post by: ((UKSN))shad_dow on 05 July, 2004, 15:47:15
cheers again plop ,

:D