Hi there
1.
I wish to give any bot of mine an desc.
HOW can i use the following lines to do this?
(Or- what i must do? An example will be useful.
Of cause, a ready one too...) thx
*****************************************
Botname = "Hello-Bot"
desc_tag = "Here i am! <++ V:0.xxx,M:A,H:1/0/1,S:3>"
connection = "DSL"
email = "I@here.uk"
shared = "0" -- in bytes
else
Botname = "Time-Bot"
desc_tag = "Here i am! <++ V:0.xxx,M:A,H:1/0/1,S:3>"
connection = "DSL"
email = "I@here.uk"
shared = "0" -- in bytes
else
Botname = "Game-Bot"
desc_tag = "Here i am! <++ V:0.xxx,M:A,H:1/0/1,S:3>"
connection = "DSL"
email = "I@here.uk"
shared = "0" -- in bytes
bothello = "$Hello"
botmyinfo = "$MyINFO $ALL "..botname.." "..desc_tag.."$ $"..connection..string.char(5).."$"..email.." $"..shared.."$"
Example:
bot = "[BOT]Test"
botDesc = "My secription"
botTag = "My Tag"
botSpeed = "Lightspeed"
botEmail = "Test@test.com"
botShare = 0
function Main()
frmHub:RegBot(bot)
botinfo = "$MyINFO $ALL "..bot.." "..botDesc.."<"..botTag..">$ $"..botSpeed..string.char(1).."$"..botEmail.."$"..bshare.."$"
end
function NewUserConnected(user)
user:SendData(botinfo)
end
Or use PtokaX MyINFO handling for bots ;)
bot = "[BOT]Test"
botDesc = "My secription"
botTag = "My Tag"
botEmail = "Test@test.com"
function Main()
frmHub:RegBot(bot, 1, botDesc.."<"..botTag..">", botEmail)
end
Btw good bot don't have connection...
If you make small test, create bot with connection and send from this bot mass message then any client in away mode reply with own away message... if bot don't have connection then you don't receive (or only few from bad clients) away messages :))
WHOOP!...that it is. ;) Thank YOU!
btw: YOUR btw-message was very interessting cause i hadn?t know this...i?ll think about. 8o
QuoteOriginally posted by PPK
Or use PtokaX MyINFO handling for bots ;)
bot = "[BOT]Test"
botDesc = "My secription"
botTag = "My Tag"
botEmail = "Test@test.com"
function Main()
frmHub:RegBot(bot, 1, botDesc.."<"..botTag..">", botEmail)
end
Btw good bot don't have connection...
If you make small test, create bot with connection and send from this bot mass message then any client in away mode reply with own away message... if bot don't have connection then you don't receive (or only few from bad clients) away messages :))
Thisone is indeed better to use. But how can I define the sharesize? Or isn't that possible... I'm just wondering, and I know it isn't important...