can anybody help me to fix LUA__!!!
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

can anybody help me to fix LUA__!!!

Started by LiqUiD~TrolL, 08 November, 2004, 23:10:13

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LiqUiD~TrolL

well i got tiered to trying finding ppl n asking them all the time in LUA.
does anyone konw where can i go n get some first lessons in LUA scripting??
i have a hub n i prefer fix the scripts by my own_!!

have a nice days ppl =0)
________<>________


            -=@_ psydream-land.no-ip.org _@=-


             
http://www.psychedelicdreams.bravehost.com

??????Hawk??????

hi m8  

Have a look  in the   How To's  Section of this Forum ....

any other Questions   try the search first  if no luck then  Post away  in the relevent Thread ..

??????Hawk??????

Corayzon

lua.org is good to, just to note: pTokax uses lua4 ;)

and as hawk said look around howto's, i know a few posts in there i have done that are awsome resource for newbies =]

LiqUiD~TrolL

well i have to check out the links you gave me guys.

matt how r you doing m8 =)
well done for being operator in israel ;-)


i ll post soon i guess,these are my first steps in this thing :)
________<>________


            -=@_ psydream-land.no-ip.org _@=-


             
http://www.psychedelicdreams.bravehost.com

LiqUiD~TrolL

well guys i searched a little but i didn t find what i m looking for

i need a turtoal, something to read to start building my own scripts from 0

can you plz give me some links with instactions about everything??
from 0 to a complete script??
________<>________


            -=@_ psydream-land.no-ip.org _@=-


             
http://www.psychedelicdreams.bravehost.com

Herodes

Well it seems like you havent put enough effort looking for smth ... there is a "Write your own Bot" thread series in the How To section that was recommended earlier ... Try looking in there ..

as soon as you know what you want to do, the only problem you'll face is "How To" do it .. ( but the first step remains .. you need to know what you wanna do..)

bastya_elvtars

use the ptokax scripting.txt the info in it owns
Everything could have been anything else and it would have just as much meaning.

LiqUiD~TrolL

hello again guys whats up???



well i saw these lessons they are really awsome,=)

well to start with something i just want to fix a script to saw a txt file i8n my hub
like add a command +showfile

i don t think it s so comlicated,is it???
i understood some things_(*not all )
but some of them in these lessons
but to fix a script from 0 needs much more lessons hehehe
________<>________


            -=@_ psydream-land.no-ip.org _@=-


             
http://www.psychedelicdreams.bravehost.com

??????Hawk??????

hi m8  ..

Quotebut to fix a script from 0 needs much more lessons hehehe


my advise is to NOT try to create a script from 0 ...  YET

But  grab some Scripts from the board  and have a play around with them
and get used to how thing work and how the hub responds to different commands..

once you can comfortably edit and change the MAIN Body of some scripts  then you will find it a lot easier to start your own ...

......

??????Hawk??????

LiqUiD~TrolL

ehhe tnx your advice is really good, but i alreadty tried that ,hahaha


i m trying to moderate some scripts i m already useing in my hub

today i moderate this one  :

BotName = "-AdmiN~BoT-"

function NewUserConnected(curUser)
    data=curUser.sMyInfoString
    s,e,cmd = strfind( data, "[$]+[^$]+[$]+[^$]+[$]+[^$]+[$]+([^$]+)" )

if (strfind(cmd,"28.8K")) then
curUser:SendPM(BotName,"SorrY_BuT_Users_With_Slow_Connection_(28.8 modem_ArE_NoT_AlloweD_In_HerE_!!...@_@ ")
curUser:Disconnect()
end
if (strfind(cmd,"33.6K")) then
curUser:SendPM(BotName,"SorrY_BuT_Users_With_Slow_Connection_(33.6 modem_ArE_NoT_AlloweD_In_HerE_!!...@_@ ")
curUser:Disconnect()
end
if (strfind(cmd,"56K")) then
curUser:SendPM(BotName,"SorrY_BuT_Users_With_Slow_Connection_(28.8 modem_ArE_NoT_AlloweD_In_HerE_!!...@_@ ")
curUser:Disconnect()
end
end



it s a bot that doesn t allow to users with slow connections like 28,8 / 33,6 and 54kbs get in the hub

can you tell me a small script i can add if i want to show a txt file in my hub???
only this .not something too complicated,cause i don t want a big bot to Fuck my computers Memory while the hub is running .
you know what i mean ,a light script with small memory usage =)

greedings m8 =)
have a good friday night ahha
________<>________


            -=@_ psydream-land.no-ip.org _@=-


             
http://www.psychedelicdreams.bravehost.com

??????Hawk??????

hi m8  

a simple SEARCH for     'texter'   Brings up many options..
its a nice tool ( Top right hand side )..

take a look at  Plops Texter bot

LiqUiD~TrolL

hello again my firend


well i tried this bot by plop


but i coudn t find witch command should activates the bot
i tried +text !text and fdfolder with + and !  but nothing happened


also take note that i have the txt file i want to be showned in there but nothin

what the..... =/
________<>________


            -=@_ psydream-land.no-ip.org _@=-


             
http://www.psychedelicdreams.bravehost.com

LiqUiD~TrolL

well yeah i finaly tried another version of this bot

and the mistake is that i was creating new text folder in the scripts folder
and that was my mistAKE there is already a text folder created when you are getting ptoka x progg from the net
________<>________


            -=@_ psydream-land.no-ip.org _@=-


             
http://www.psychedelicdreams.bravehost.com

SMF spam blocked by CleanTalk