PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: [HE]Newbie on 01 July, 2006, 23:32:20

Title: Text reader
Post by: [HE]Newbie on 01 July, 2006, 23:32:20
Hello Im trying to script a little mainbot, but im a pretty noob on Lua, you now think Wtf? why is he then trying to make an Mainbot, thats because i want to pump my skills up a bit higher for Lua.

If someon1 is possible to make me an Text reader in Lua5, i really apreciate this is because i need to send the !rules from a textfile and i dont know how. so the request is:

If someon1 could make me a script when type !rules its opens the textfile for THAT profile, i have the text files:

Rules_user
Rules_reg
Rules_vip
Rules_op
Rules_mod
Rules_netf
Rules_master

If its possible to add a !help 2 with the same thingy as above with the textfiles:

Help_user
Help_reg
Help_vip
Help_op
Help_mod
Help_netf
Help_master

-- So simple as possible so its possible to put this in my mainbot OFFCOURSE! a thanx will be in!

I would really apreciate this, if you dont know what i mean please tell me because my english suxXx

Greetz Newbie(The name whats exactly means what i am Lool)
Title: Re: Text reader
Post by: st0ne-db on 02 July, 2006, 02:12:09
here is a little something i threw together for you... hope this helps you out.

Simple.Text.Bot.v1.0.LUA5.X-PtokaX (http://the-westside.no-ip.info/lua/Simple.Text.Bot.v1.0.LUA5.X-PtokaX.lua)
(by St0ne db - http://the-westside.no-ip.info)
Title: Re: Text reader
Post by: [HE]Newbie on 02 July, 2006, 04:07:29
Hey m8, really apreciate that, im gonna test it asap, im now gonna zzzZZzzz lmfao, i will reply my comment when tested:)))))0 very very thanx for the script

--//

Ok this scirpt works fine for me, but its a bit too hard to put it in for me, i have aked Madman for a bit help and he did throwed his own in,,,, sorry stonedb but thanks for your time of scripting this.

Really apreciate that, Greetz Newbie