i need a script that allows only op's in a hub
this script has to read the users tag
is this possible? 8)
QuoteOriginally posted by Daywalker
i need a script that allows only op's in a hub
this script has to read the users tag
is this possible? 8)
make the hub regged users only in ptokax and only reg OPs
:D
QuoteOriginally posted by Daywalker
i need a script that allows only op's in a hub (...)
Won't they get bored? Ops need users to attend to (or, failing that, kick), if they're only between themselves they'll wilt and have no interest in going back into the fray.
(This message brought to you by the Society for Fair Treatment of Ops and Admins)
QuoteOriginally posted by bolamix
Won't they get bored? Ops need users to attend to (or, failing that, kick), if they're only between themselves they'll wilt and have no interest in going back into the fray.
(This message brought to you by the Society for Fair Treatment of Ops and Admins)
LMAO
Nice one =)
QuoteOriginally posted by Daywalker
i need a script that allows only op's in a hub
this script has to read the users tag
is this possible? 8)
If daywalker wants this information be taken from TAG then I must believe, he wants he's users to be an OP in any hub, not his...
Op's in an Op hub can still kick each other
QuoteOriginally posted by [NL]Pur
Op's in an Op hub can still kick each other
I believe that Idea of hub where are only OP's from difrient hubs is to gather around "professionals" so there is no need for kicking anyone! You never know, how can this work out untill you try :)
Getting back to this "reading the user's tag"... The tag doesn't say whether someone is an op on a particular hub, only on how many hub he/she is unregged/regged/op, right? So a user can't be automatically op in every hub he/she connects to, just based on the tag (or by whatever method, I can't see how this could be done at all).
Aside from that, the idea of a hub where "professional ops" can discuss ops' things is totally ludicrous, a good laugh :D
QuoteOriginally posted by enema
QuoteOriginally posted by [NL]Pur
Op's in an Op hub can still kick each other
I believe that Idea of hub where are only OP's from difrient hubs is to gather around "professionals" so there is no need for kicking anyone! You never know, how can this work out untill you try :)
if they can't stop kicking each other, why not just disable the kick command ;)
QuoteOriginally posted by bolamix
Getting back to this "reading the user's tag"... The tag doesn't say whether someone is an op on a particular hub, only on how many hub he/she is unregged/regged/op, right? So a user can't be automatically op in every hub he/she connects to, just based on the tag (or by whatever method, I can't see how this could be done at all).
Aside from that, the idea of a hub where "professional ops" can discuss ops' things is totally ludicrous, a good laugh :D
I guess, it should work like that - script cheks the tag... If user is an Op somewhere, he can join the hub.. if not (if tag shows for example - 2/4/
0 ) then - bye bye!
I must admit, that idea is really stupid... but we dont have any rights to laugh @ other ppl requests (if they're reasonable)
QuoteOriginally posted by enema
I guess, it should work like that - script cheks the tag... If user is an Op somewhere, he can join the hub.. if not (if tag shows for example - 2/4/0 ) then - bye bye!
Ok that makes more sense... if someone is op somewhere then he can enter your hub... I still don't see why you would want that, but at least I understand what you want :D I know that can be done with a script, but i'm terribly dumb when it comes to regexp, can't get my mind around it.
QuoteI must admit, that idea is really stupid... but we dont have any rights to laugh @ other ppl requests (if they're reasonable)
Well, the way you put it first, it looked like you thought the hubsoft is magical and can do anything. That's why I laughed. On the other hand, you admit that your idea is "really stupid", but then further down you imply that it's reasonable and we shouldn't laugh at it.....
QuoteOriginally posted by bolamix
Well, the way you put it first, it looked like you thought the hubsoft is magical and can do anything. That's why I laughed. On the other hand, you admit that your idea is "really stupid", but then further down you imply that it's reasonable and we shouldn't laugh at it.....
That wasnt my Idea! Look whos started this thread! Anyway, have u noticed, that there has been 11 posts before this one and still no script given to Daywalker...
Yeah.. but Daywalker, hasent posted what he wants...
so far we only has guessed what he wants, it would bee good if he posted a little more info... =)
QuoteOriginally posted by enema
That wasnt my Idea! Look whos started this thread! Anyway, have u noticed, that there has been 11 posts before this one and still no script given to Daywalker...
Damn, I got mightily confused there... sorry enema 8o I'll read a bit more carefully ^^
QuoteAside from that, the idea of a hub where "professional ops" can discuss ops' things is totally ludicrous, a good laugh
the only thing that i want is to start a hub were all OP's around the world can come together to change ideas and whatever...and my scripting sucks so i thought i ask some profs if they could help me out for a script that can read the tag en specify the op's from the users...
sounds easy to me....for a pro in lua ;)
? 8)
Okay i'll explain what daywalker means i know hin and i'm on of his ops :D
He wants the script to read someones tag and check if the user is an op anywhere.
example
12/1/0 , can't get in
but
1/1/10 CAN get in
thats what daywalker wants.
he just doesn't know how to ask for it yet ;)
Then this should do the trick =)
--//TagChecker Made By Madman
--//Stripped From -Dark-Mind- Made By ?
--//And Ofcourse Modded By Madman =)
--//Modded To OpOnly
Bot = "OpOnly"
function DataArrival(curUser,data)
if (strsub(data,1,7)=="$MyINFO") then
if strfind(data,"H:") then
_,_, Hub = strfind(data,"$MyINFO $ALL.*,H:(%d+).*")
_,_, RegHub,OpHubs = strfind(data,"$MyINFO $ALL.*,H:%d+/(%d+)/(%d+)")
if not strfind(data,"H:") then
curUser:SendData(Bot, "I cant check your hubs. You are being disconnected.")
curUser:Disconnect()
end
if Hub==nil then
curUser:SendData(Bot, "I cant check your hubs. You are being disconnected.")
curUser:Disconnect()
end
if (tonumber(OpHubs) < 1) then
curUser:SendData(Bot, "You are not op in any hub. You are being disconnected.")
curUser:Disconnect()
end
end
end
end
QuoteOriginally posted by Daywalker
sounds easy to me....for a pro in lua ;)
does this make me a lua pro? lol
Allmost lol
--//TagChecker Made By Madman
--//Stripped From -Dark-Mind- Made By ?
--//And Ofcourse Modded By Madman =)
--//Modded To OpOnly
--//Small changes by Optimus
Bot = "OpOnly"
function DataArrival(curUser,data)
if (strsub(data,1,7)=="$MyINFO") then
local s,e,OpHubs = strfind(data,"$MyINFO $ALL.*,H:%d+/%d+/(%d+)")
if s then
if (tonumber(OpHubs) < 1) then
curUser:SendData(Bot, "You are not op in any hubs. You are being disconnected.")
curUser:Disconnect()
end
else
curUser:SendData(Bot, "I cant check your hubs. You are being disconnected.")
curUser:Disconnect()
end
end
end
Hehe... true... You are then one who is the pro =)
tnx guys....this is what i meant with real pro's :P
i tryed both scripts and they worked all fine...
wanna try it?
operators-lounge.servebeer.com:412 check this ;)
QuoteHehe... true... You are then one who is the pro =)
Just keep on going, i'm not here to judge you. Only to motivate
** * Marry Christmas * **
Merry X-Mas you to =)
I like your idea, a "private" place for DC profecinals to gather and discuss the DC community!
althou I sense a flaw (if that's the way it's spelled) in your system, it's realy easy to start a hub, with no users connected asf, basicly a non existing hub for the soul purpose of getting into your hub....althou I don't see why someone would do that!
basicly if I were you I would up the numbers of hubs you are required to be an OP in...
say that you set 2 hubs instead of 1, that shows you that the user infact are OP in serveral places and there for should have more experience in this field!!
ooo. long post, sorry :D
have a nice XMAS
Quotebasicly if I were you I would up the numbers of hubs you are required to be an OP in...
if i understand u right u mean the more hubs an OP is in the more experienced he is....if that's so then ur right about that....
However..some standalones are also capeble enough to talk about DC related things i think, but correct me if i'm wrong :D
But at least two hubs is more serieus i guess 8)
Nice Idea :) Can't get in though :S
oops :D
my mistake.....is fixed now 8)
i've set the minimum hubcount for OP at 2 tnx to ZeroX for the idea
Right, the other shoe finally dropped, I now understand Daywalker's idea. I thought it was ludicrous as I can't see why ops together would behave more nicely than users together.
But I'm willing to give it a try, I've given this some thought and I might very well have been wrong to laugh ^^ I'll drop by that "ops-only" hub some time :)
I'm glad u think it's not stupid after all 8)
drop by whenever u think u can...the door is open..now...gehehe
btw.....Merry Xmas u all :))
--//TagChecker Made By Madman
--//Stripped From -Dark-Mind- Made By ?
--//And Ofcourse Modded By Madman =)
--//Modded To OpOnly
--//Small changes by Optimus
--//Some Stuff Added By Madman
Bot = "OpOnly"
NrOpHub = 2 --//Minimum Number Of OpHubs
SendInfo = 1 --//Send Info On Connect
function DataArrival(curUser,data)
if (strsub(data,1,7)=="$MyINFO") then
s,e,OpHubs = strfind(data,"$MyINFO $ALL.*,H:%d+/%d+/(%d+)")
if s then
if (tonumber(OpHubs) < NrOpHub) then
curUser:SendData(Bot, "You are not op in " ..NrOpHub.. " hubs. You are being disconnected.")
curUser:Disconnect()
end
else
curUser:SendData(Bot, "I cant check your hubs. You are being disconnected.")
curUser:Disconnect()
end
end
end
--//The Info On Connect ;p
function OpConnected(curUser)
if SendInfo==1 then
curUser:SendData(Bot, "Hi, " ..curUser.sName.. " you are Op in " ..OpHubs.. " hubs. The minimum number of ophubs allowed is " ..NrOpHub)
end
end
I was bored...
I really need something to do...
maybe go out and look for that thing they call life?
--//TagChecker Made By Madman
--//Stripped From -Dark-Mind- Made By ?
--//And Ofcourse Modded By Madman =)
--//Modded To OpOnly
--//Small changes by Optimus
--//Some Stuff Added By Madman
--//+1 If User Is Op In This Hub
--//Redir Options Requested By Daywalker
--//MOTD Will Be Shown When Redirecting
--//Nothing We Can Do About It
--//Thanks For The Help LUA Hub Tho...
--//To See If Anything Could Be Done
Bot = "OpOnly"
NrOpHub = 2 --//Minimum Number Of OpHubs
SendInfo = 1 --//Send Info On Connect
DisRedir = 1 --//Disconnect = 1, Redirect = 0
Addy = "Put Redir Addy Here"
function DataArrival(curUser,data)
if (strsub(data,1,7)=="$MyINFO") then
s,e,OpHubs = strfind(data,"$MyINFO $ALL.*,H:%d+/%d+/(%d+)")
if s then
if (tonumber(OpHubs) < NrOpHub) then
if DisRedir==0 then
curUser:SendData(Bot, "You are not op in " ..NrOpHub.. " hubs. You are being redirected.")
curUser:SendData(Bot, "Redirecting to: "..Addy.."|$ForceMove "..Addy.."|")
elseif DisRedir==1 then
curUser:SendData(Bot, "You are not op in " ..NrOpHub.. " hubs. You are being disconnected.")
curUser:Disconnect()
end
end
else
curUser:SendData(Bot, "I cant check your hubs. You are being disconnected.")
curUser:Disconnect()
end
end
end
--//The Info On Connect ;p
function NewUserConnected(curUser)
if SendInfo==1 then
if curUser.bOperator then
--//Added +1 To This Line Beacuse It Dosent Count Your Hub
curUser:SendData(Bot, "Hi, Op " ..curUser.sName.. " you are Op in " ..(OpHubs+1).." hubs. The minimum number of ophubs allowed is " ..NrOpHub)
elseif not curUser.bOperator then
curUser:SendData(Bot, "Hi, " ..curUser.sName.. " you are Op in " ..OpHubs.. " hubs. The minimum number of ophubs allowed is " ..NrOpHub)
end
end
end
OpConnected = NewUserConnected
Here is another update.... =)
Unfortnaly nothing can be done about the MOTD when Redirecting
the script works great :))
tnx to madman
Well I fell prey to that script, tried to connect whereas I'm op in only one hub... I'll have to find a second hub to be op in ;)