Author Topic: File IO  (Read 1768 times)

0 Members and 1 Guest are viewing this topic.

Offline bigcanuck

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-1
File IO
« on: 12 November, 2006, 00:40:24 »
Code: [Select]
Files = {
Settings = "config.txt",
Commands = "cmd.txt",
Folder = "rukus",
List = "list.txt",
rList = "requests.txt",
OpHelp = "ophelp.txt",
Help = "help.txt",
TopPosters = "top_posters.txt",
Pending = "list.dat",
Share = "share.txt",
Online = "last_seen.txt"
}


require(Files.Folder.."/"..Files.Commands)

How do I get this to run in Lua 5.1? 
« Last Edit: 20 November, 2006, 16:06:28 by bastya_elvtars »

PtokaX forum

File IO
« on: 12 November, 2006, 00:40:24 »

Offline bigcanuck

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-1
Re: File IO
« Reply #1 on: 12 November, 2006, 01:29:41 »
ok... so the syntax errors are gone now, however it's still not accpetion commands from the hub chat with the acception of -mm which does a mass message.

the code is attached.

Offline bigcanuck

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-1
Re: File IO UPDATE
« Reply #2 on: 12 November, 2006, 01:39:49 »
UPDATE::


The showpending command and regpending commands do not work any ideas? the rest is ok.

PtokaX forum

Re: File IO UPDATE
« Reply #2 on: 12 November, 2006, 01:39:49 »