OP's ONLY
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

OP's ONLY

Started by Daywalker, 22 December, 2004, 00:25:06

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

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)
Get in the night....Walk out the day :evil:

my hubs:
****v^^v**UNITED OP\'s**v^^v****
operators-lounge.servebeer.com:412
******************************
wdp9.no-ip.info:511
nl-dc-hub-2.no-ip.org

bastya_elvtars

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
Everything could have been anything else and it would have just as much meaning.

bolamix

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)
Sharing is of the essence!

Live music >> Aiwadirock! live music hub
PtokaX knowledge >> The PtokaX Wiki

Madman

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 =)
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

enema

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...

[NL]Pur

Op's in an Op hub can still kick each other

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 :)

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
Sharing is of the essence!

Live music >> Aiwadirock! live music hub
PtokaX knowledge >> The PtokaX Wiki

blackwings

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  ;)


enema

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)

bolamix

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.....
Sharing is of the essence!

Live music >> Aiwadirock! live music hub
PtokaX knowledge >> The PtokaX Wiki

enema

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...

Madman

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... =)
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

bolamix

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 ^^
Sharing is of the essence!

Live music >> Aiwadirock! live music hub
PtokaX knowledge >> The PtokaX Wiki

Daywalker

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)
Get in the night....Walk out the day :evil:

my hubs:
****v^^v**UNITED OP\'s**v^^v****
operators-lounge.servebeer.com:412
******************************
wdp9.no-ip.info:511
nl-dc-hub-2.no-ip.org

Quattro

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  ;)
quattro-place.no-ip.com:1418
PtokaX DC Hub 0.3.3.0 build 17.09 Not Running :(
wdp10.no-ip.info:1412
DCH++ v1.0-Release (Plugin API v1.0) Special Quattro? Build
For DCH scripting and plugins

Madman

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
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Optimus

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

Madman

Hehe... true... You are then one who is the pro =)
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Daywalker

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 ;)
Get in the night....Walk out the day :evil:

my hubs:
****v^^v**UNITED OP\'s**v^^v****
operators-lounge.servebeer.com:412
******************************
wdp9.no-ip.info:511
nl-dc-hub-2.no-ip.org

Optimus

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 * **

Madman

Merry X-Mas you to =)
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

ZeroX

#22
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

Daywalker

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)
Get in the night....Walk out the day :evil:

my hubs:
****v^^v**UNITED OP\'s**v^^v****
operators-lounge.servebeer.com:412
******************************
wdp9.no-ip.info:511
nl-dc-hub-2.no-ip.org

Pothead

#24
Nice Idea :) Can't get in though :S

SMF spam blocked by CleanTalk