ok here is the idea of the script im looking for...
[MNH]nick gets a key,
[MNH] in the nick is the part o getting the key so no extra,s like kick or ban,
the options he can do are in a rightmouse menu.
the options should be like :
get hub total uptime
get hub redirect adres
get hub minshare
get hub maxshare
get hub minslots
get hub maxslots
get hub slots / hub
get nicks of all OPs and masters.
(its because im in a network with my hub and the owners like to now my hubstats and i want to put in in the script im working at so replying with try robocop isn't gonna help me much =-p )
well the problem is that i don't have that much time to figure it all out myself (school etc..)
so yust if i get reply everytime with a part i can make it together and making a rightmouse menu is easy to do.
greetings Johan
have you tried esthetic netserver...
dunno if it does what you want but it is made for networks :D
It is made by Hawk
well i take a look at it, thx for the tip but like i said i wanted to place it in my own already existing script so if its compiled like Robocop i cant use it =-p
the key is given by the hub automaticly if the users profile has the right 2 use either kick or redirect.
plop
lets put it this way,
a user connects
the scripts checks his nick..
if it starts with [NMH] the scripts starts running
if not the script does nothing,
so if the script starts it does this:
registers the user with a password wich is the same for all [NMH] users
is this possible ? auto register on certain nick ?
QuoteOriginally posted by b_w_johan
ok never mind they dont have to get a key but how to find hubstats thats what im really looking for ! cause the [MNH] have to see the stats ...
find a topic with a hubstats scripts you like and post the question there.
this last is just a simple mod, nothing more then an aditional strfind.
plop
ok i have found the script where im looking for....
copyd all parts of it i thought i could use ...
but some how it isn't working....
no errors but no reply to what it should do ...
QuotebotName = "test"
function Main()
frmHub:RegBot(botName)
SendToAll(" ? "..botName.." launched"..date(" the %d/%m/%Y at %X ")..". ? type !info to test")
end
function NewUserConnected(user)
end
if(cmd=="!info") then
doInfo(user)
return 1
end
function doInfo(user)
user:SendData(botName,"You are in "..frmHub:GetHubName()..".|") -- hubname
user:SendData(botName,"The description is "..frmHub:GetHubDescr()..".|") -- discriptie
user:SendData(botName,"There are "..frmHub:GetUsersCount().." users in the hub at the moment.|") -- aantal users
user:SendData(botName,"Redirect adress is "..frmHub:GetRedirectAddress()..".|") -- redirectadres
if frmHub:GetRedirectAll()==0 then
user:SendData(botName,"New users are not redirected.|") -- als geen adres
else
user:SendData(botName,"New users are redirected to "..frmHub:GetRedirectAddress()..".|") -- als wel adres
end
if frmHub:GetRedirectFull()==0 then
user:SendData(botName,"New users are not redirected if the hub is full.|") -- bij vol niet redirect
else
user:SendData(botName,"New users are redirect to "..frmHub:GetRedirectAddress()..".|") -- bij vol wel redirect
end
user:SendData(botName,"Hub registed at hubs lists "..frmHub:GetRegServer()..".|") -- registerd in hublists
user:SendData(botName,"Max users set to "..frmHub:GetMaxUsers()..".|") -- maxusers
user:SendData(botName,"Max slots set to "..maxslots..".|") -- maxslots
end
thats what i want to see ...
minshare maxshare minslots maxslots and stuff in script above ...
but now it isn't working and i don't get why not ..
must be something stupid to miss =-p
(its from bot called "slim - en.lua" (dll from plops site =-p ))