PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: mikeru on 30 March, 2004, 00:42:00

Title: beginner help with scripting
Post by: mikeru on 30 March, 2004, 00:42:00
i am extremely new to scripting and ptokax. i have a very beginner question, i dled some scripts and i was wondering how i load them and trigger them (so i can use them). any help would be much appreciated.
Title:
Post by: nErBoS on 30 March, 2004, 01:38:00
Hi,

You want to load what a text, a table ??

If you are a beginner i recomand you to take a look in forum topic HOW TO and this manual..
http://www.lua.org/manual/4.0/manual.html

Best regards, nErBoS
Title:
Post by: Corayzon on 30 March, 2004, 01:53:31
hey guys...

nErBoS... a while ago i found a really nice howto on strfind and gsub...but i cant find it anymore =[[[

i think u ur plop did it...can u help me out???

cheerz Mattyo
Title:
Post by: nErBoS on 30 March, 2004, 02:04:50
Hi,

That was plop i have saw that but can't find it. Sorry :(

Best regards, nErBoS
Title:
Post by: Optimus on 30 March, 2004, 02:19:50
Quotehey guys...

nErBoS... a while ago i found a really nice howto on strfind and gsub...but i cant find it anymore =[[[

i think u ur plop did it...can u help me out???

cheerz Mattyo
maybe it was this 1?

- LINK - (http://board.univ-angers.fr/thread.php?threadid=764&boardid=4&styleid=1)
Title: thanks for the responses
Post by: mikeru on 30 March, 2004, 02:27:17
but i guess my question is how can i execute the scripts\bots? i know their is script editor, but i dont know how to get the scripts to actually run or compile (i know this is probably the wrong word, but i think it will help understand what im asking to do)
Title:
Post by: Corayzon on 30 March, 2004, 02:35:38
just put the .lua script in the scripts folder...

when ptokax starts it will read and execute the scripts from this folder that have the .lua extentions =]
Title:
Post by: Corayzon on 30 March, 2004, 02:36:43
Quotemaybe it was this 1?

nope is isnt... =[[[

damb it...i really wanted to print it out...but now i cant find it :S
Title:
Post by: plop on 30 March, 2004, 17:20:03
QuoteOriginally posted by Corayzon
Quotemaybe it was this 1?

nope is isnt... =[[[

damb it...i really wanted to print it out...but now i cant find it :S
check here (http://www.plop.nl/howto_patt.php).

plop
Title:
Post by: Snooze on 18 April, 2004, 14:41:42
Thanks plop.


I were looking for something like that :))

**Snooze