Yellow Key
 

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

Yellow Key

Started by Optimus, 21 March, 2004, 17:21:27

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Optimus

I'm looking for away to add/remove the Yellow key from a operator by scripting code. I have read something a way back ago on the old forum i think but not quit sure... does some 1 still have that piece of code. Thx guys

Have a good Time ;)

[NL]Pur

don't bother too script it. You can uncheck it in the profile settings ;)

Optimus

well i saw a nice feature in Channel so that's why i ask, i really want to Experiment with it. lol

But thx for telling i noticed that option also offcourse. but it's off no use

Skrollster

#3
Raw command to send to all users is:

$OpList $$$$$$|

but i think that this only will add ops, not remove them..

[NL]trucker

skrollster

if i,m right he wants to remove the keysymbol only not the OP
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


Event_Horizon

removing the yellow key  ?(  

if this is possible this would be great, so we can create undercover OPs  :D
Greez ????_H???z??
??????????????????

??/v\\ \'?\' ?@?? ???? is Secured by RoboCop? Created by Optimus?

Optimus


[NL]Pur

well it works fine here in ptokax :)

Optimus

Yups works here to, but then all operators have no key!

Well i hope some 1 will remeber the piece of code i have seen on the old forum. i will wait till then amio :D

HaArD

$Oplist only adds Ops in DC++ I don't know about other clients. Many clients also use it to determine if the user should have Options (Kick/Redirect) on the user menu when they log-in.

In theory, If you send a $Quit for the Op's Name to the other users, followed by a $Hello/$MyINFO you can remove the Op's name (with Key) and add it back (without Key).

You'll have to do this again everytime a new Op connects as the $Oplist is sent out in full each time a new Op joins (I think...)

Skrollster

QuoteOriginally posted by HaArD
You'll have to do this again everytime a new Op connects as the $Oplist is sent out in full each time a new Op joins (I think...)

Not quite right... you have to do this every time a user connects to the hub because the $Oplist is sent to them..

But if i wanted to do this i would uncheck the option in ptokax and then make a script that did send $Oplist with all ops that you want to have a yellow key every time someone request a $Nicklist...

If it doesn't make any sense i'll try to explain again...

[NL]Pur

QuoteYups works here to, but then all operators have no key!

Well i hope some 1 will remeber the piece of code i have seen on the old forum. i will wait till then amio :D

Lmao

just add a new profile 'stealthOP' (or whatever) with same rights as operators uncheck the yellow key thing in the profile settings.

Optimus

haha indeed [NL]Pur that's a way to agree yups! :))

Snooze

Hmm.. this function in the profile manager "user has key icon" isnt working for me. well.. i can give a key but i can't take it away from anyone with the option to kick.

Any help would be great, thanks

**Snooze

plop

QuoteOriginally posted by Snooze
Hmm.. this function in the profile manager "user has key icon" isnt working for me. well.. i can give a key but i can't take it away from anyone with the option to kick.

Any help would be great, thanks

**Snooze
the key is always given 2 profiles which have the abilety 2 kick or redirect.
if you use a scripted kick you can have op's without key by simple removing acces 2 those 2 ptokax commands, but still they can kick.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

HaL

#15
maybe someone could write a script that
watches allways if an op enters the hub and
then the script unregs the the op from the userlist.

and then the script sends a info string  for the op?s client to ptokax

the op is still regged in ptokax as op but not in the userlist


like this:
for all ops

1. script watches allways if a op connected to the hub
2. if a op connected unreg op nick with :frmHub:UnregBot(user.sName) (this should only unreg from userlist , you still are op with all rights in ptokax)
3. send info string with: SendToAll("$MyINFO $ALL "..opnick.." "..description.."$ $Cable8$"..mail.."$10000000000$|")
..............................................................................

or a script that does the same if i write in mainchat
cmd like !user then only i am would new regged in user list as user

if (cmd=="!user") and user is op then
frmHub:UnregBot(user.sName)
SendToAll("$MyINFO $ALL "..opnick.." "..description.."$ $Cable8$"..mail.."$10000000000$|")







plop

QuoteOriginally posted by HaL
maybe someone could write a script that
watches allways if an op enters the hub and
then the script unregs the the op from the userlist.

and then the script sends a info string  for the op?s client to ptokax

the op is still regged in ptokax as op but not in the userlist


like this:
for all ops

1. script watches allways if a op connected to the hub
2. if a op connected unreg op nick with :frmHub:UnregBot(user.sName) (this should only unreg from userlist , you still are op with all rights in ptokax)
3. send info string with: SendToAll("$MyINFO $ALL "..opnick.." "..description.."$ $Cable8$"..mail.."$10000000000$|")
..............................................................................

or a script that does the same if i write in mainchat
cmd like !user then only i am would new regged in user list as user

if (cmd=="!user") and user is op then
frmHub:UnregBot(user.sName)
SendToAll("$MyINFO $ALL "..opnick.." "..description.."$ $Cable8$"..mail.."$10000000000$|")
why do so complex and risky??
with scripts you can give them all commands they need in a save way.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

HaL

yes i could unreg the kick and redirect function in profile manager , and use a extern kick script

but i use a hub bot

in this bot often is used the if op functions

like: (user.bOperator) or SendToOps(user.sName,data)
if im not a op i could not use this bot longer.


plop

QuoteOriginally posted by HaL
yes i could unreg the kick and redirect function in profile manager , and use a extern kick script

but i use a hub bot

in this bot often is used the if op functions

like: (user.bOperator) or SendToOps(user.sName,data)
if im not a op i could not use this bot longer.
then you need 2 mod it so it uses the profiles.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk