PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Help with scripts => Topic started by: darkstar on 16 September, 2010, 12:34:33

Title: how to use scripts
Post by: darkstar on 16 September, 2010, 12:34:33
I have just downloaded ptokaX from http://www.PtokaX.org/files/0.4.1.2.7z
i have intsalled it and the hub is working fine with the ip i used
but now i want to know how to use scripts?
plzzzzzzzz help ??? ??? ??? ??? ??? ??? ???
Title: Re: how to use scripts
Post by: TZB on 16 September, 2010, 17:22:36
Tutorial I name it :P

Step 1 : Extract the folder
Step 2 : Double click PtokaX.exe
Step 3 : Make your settings
Step 3 : You will now see 4 new Folder being Created cfg;logs;scripts;texts
Step 4 : *If you have script files i.e .lua extension copy it in Scripts folder.
             Go to PtokaX GUI and click on scripts TAB Containing 3 columns Big Square (Main BOX) is editor,Right-side is List of  Scripts in script folder  It would have a CHECK-BOX Before its name. To start a script Just click on it once.
To edit Double-click to open in the editor.If any error with the Script Lower column at the bottom will let you know what it is.

         **If you are picking scripts from this forum just COPY* the whole script and paste it in the editor column and then click on save tab on right column.This will save it in the scripts folder.Click on Refresh Scripts which is above the right column you will see the scripts tab updated click on the check Box and you are done.

*** Make sure you are using scripts of API2 lua 5.1
*** Few scripts requires libs so make sure you have that also in your scripts folder as well.
Thats all for the Day have a nice time.