PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: slick on 16 September, 2005, 19:11:06

Title: converter ?
Post by: slick on 16 September, 2005, 19:11:06
hi probably posting in the wrong place  but.............is there a converter that works i just shut down my older hub and running 0.3.3.0 now would like to salvage my old lau 4 scripts
Title:
Post by: bastya_elvtars on 16 September, 2005, 19:24:27
QuoteOriginally posted by slick
hi probably posting in the wrong place  but.............is there a converter that works i just shut down my older hub and running 0.3.3.0 now would like to salvage my old lau 4 scripts


Easier to post them instead and asking politely... ;) There is no 100% accurate converter.
Title:
Post by: slick on 17 September, 2005, 13:49:34
ok thanx that shoots that idea out of the water ok now i'd like to have some lau 5 scripts i've been looking around (going in circles actually) and can't seem to find much is there a particular site i'm missing or is there someone that could convert a couple i'm kinda lost here help would be appreciated
Title:
Post by: Dessamator on 17 September, 2005, 17:13:04
Search the forum, theres a high probability that the script you need or want has already been converted.
Title:
Post by: bastya_elvtars on 17 September, 2005, 19:50:57
Check the script database. If you can't find the ones you need, search here, and then ask.
Title:
Post by: slick on 18 September, 2005, 14:20:32
ok i found 1 script i'm looking for "rotating message"but i get this error


Syntax ...gram Files\PtokaX 0.330 Build 17.03 (LUA 5)\scripts\rotating message.lua:7: function arguments expected near `='


here is the first few lines of the script so you know what i have


code:--------------------------------------------------------------------------------
-- Rotating Message 1.1 by jiten - for PtokaX 0.3.3.0 build 16.09 or Higher
-- based on Rotating Message 1.0 by Mutor The Ugly
-- Rotates n text files posted to main chat at interval
-- Added: Rotates every .txt file stored in sFolder (by kepp)
 i assummed it's lua 5 considering recommended hub used in



thanx for any help/input
Title:
Post by: slick on 18 September, 2005, 14:31:29
p.s

i also just dropped in plop's texter



-- texter bot by plop
-- thx 2 chilla for the faster routine for opening the files
-- shows text files from a folder named text.
-- doesn't matter what prefix it used.
-- if the file exist it shows.
--
-- Converted to LUA 5 by Mutor 2/28/05

i get this in the hub script editor :(


Syntax C:\Program Files\PtokaX 0.330 Build 17.03 (LUA 5)\scripts\texter.lua:11: function arguments expected near `='
Title:
Post by: slick on 18 September, 2005, 15:03:51
this is what i have for that line


FDFolder = "Text2"

if there is a problem there it eludes me :(


i can paste the whole script if you'd like
Title:
Post by: slick on 18 September, 2005, 16:15:04
ok i got the scripts working but thanx for your time folks