PtokaX forum

Archive => Archived 4.0 boards => Finished Lua 4 scripts => Topic started by: Event_Horizon on 14 February, 2004, 19:57:35

Title: script for botspeed & description
Post by: Event_Horizon on 14 February, 2004, 19:57:35
i found an old script, it's from the old forum

--file:LivelyBot.lua

botname = "insertbotname"





gb = 0 * 1024 * 1024
bot_name = "insertbotname"
bot_email = "insertbote-mail"
bot_speed = "insertbotspeed"
bot_descr = "insert botdescription"
bot_share_size = 1 * 1024 * gb


function Main()
frmHub:RegBot( bot_name )
my_info_string = "$MyINFO $ALL "..bot_name.." "..bot_descr.."$ $"..bot_speed..strchar( 1 ).."$"..bot_email..
"$"..bot_share_size.."$"

end

function NewUserConnected(curUser)
curUser:SendData( my_info_string )

end

function OpConnected(curUser)
curUser:SendData( my_info_string )

end
 

nice to give bot's a connection & description - have fun with it
Title:
Post by: pHaTTy on 14 February, 2004, 20:49:46
hmm think there is already one posted lol
Title: Old-Gold !!!
Post by: Cp6uja on 09 June, 2004, 23:55:10
I want this script !!!


/Cp6uja  :D