PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: --Gollum-- on 14 January, 2004, 13:46:14

Title: beginner needs help !
Post by: --Gollum-- on 14 January, 2004, 13:46:14
hello guys, i need a short script for a little member hub.
i want to have commands to reg user and ops,
and a #help command to show the available commands.
i would be good when the script welcomes the ops and users who enter the hub.
the hubsoft is PtokaX 0.3.2.6
this is my first hub and i dont know what script to take.
Title:
Post by: Me?alCas?le? on 14 January, 2004, 14:14:06
Try Robocop that is a good script or look at Finished Scripts tread after other script it is many good script in there.


RoboCopv5.0b-Beta.rar (http://members.home.nl/jakootstra/RoboCopv5.0b-Beta.rar)
Title: ?
Post by: Gnuff? on 14 January, 2004, 14:18:20
Most of those commands you asked for is in you mainscript, you just have to activate them
Title:
Post by: --Gollum-- on 14 January, 2004, 14:27:46
?hm okay first : how do i activate the commands in the main script ?

and sekond: i testet the robocop, but the script is very heavy .. i wanted ti edit it so the bot has my own description and my own email .. but i didnt find were to edit this
Title:
Post by: plop on 14 January, 2004, 14:39:26
QuoteOriginally posted by --Gollum--
?hm okay first : how do i activate the commands in the main script ?

and sekond: i testet the robocop, but the script is very heavy .. i wanted ti edit it so the bot has my own description and my own email .. but i didnt find were to edit this
robocop uses a exe file 2 do all the config things.
just start that and change all you want.

plop
Title:
Post by: --Gollum-- on 14 January, 2004, 14:47:05
okay i find were to edit my important things !
many thanks !
but there is still one thing .. when i check the syntax of the bot without editing anytthing i get an error:
Syntax Error: unexpected end of file in `Lua@    ?[????A'
Title:
Post by: Cyberia on 14 January, 2004, 17:59:02
Lol :)

Have you edited the Robocop.lua file?
Try to download and install it again.
Looks like the lua script (wich is compiled) has been changed.
Only change settings with the Robocop.exe.
If you change the lua file, script will be corrupt.
Like Plop said; all changes have to be made with the Robocop.exe
Title:
Post by: Optimus on 14 January, 2004, 18:00:28
Yups like they say it's true, hey m8 :D
Title:
Post by: --Gollum-- on 14 January, 2004, 18:16:31
hmm okay this bot was to heavy for me so i decided to take a sky bot.
everything works grat now ..  there is only one prob left ...

when i want to add users/vips/ops, this doesnt work.

the hubsoft tells me:

Syntax Error: attempt to call field `AddRegUser' (a nil value)

in dc nothing happens.

anybody know what is wrong ?
Title:
Post by: RobinHood on 21 January, 2004, 12:20:30
i think there are data missing or you are using a wrong command, perhaps you show us the code??
Title:
Post by: NightLitch on 21 January, 2004, 13:09:10
none of the skybots are modified to PtokaX 0.3.2.6 TD4.

I made some updates when IceCube where hubsoft nr. one.

but know I have come in such a state that I Am creating
my own bot that will soon come. But if Robocop is heavy
then mine will be as well. Cause a started building mine
with some RoboCop pieces. Hope you don't mind Optimus.

But I and Wooshman are creating a Bot-Builder that soon
will be here on test. just to see ehat you ppl like about it.

But it's hard doing a builder when something are connected to each other.

*Now I really got of the Topic* hehe
Title:
Post by: plop on 21 January, 2004, 14:28:56
--Gollum-- what are you system specs from the hub, cpu/mem.?
quick guess makes me think you should try iceguard or pzozybot.
those are pretty light and made for TD and up.

plop
Title:
Post by: ????L?F?? on 21 January, 2004, 15:25:59
robocop is opensource no more :(

shame, robocop is a cool script ^^