Author Topic: Yellow Key  (Read 4769 times)

0 Members and 1 Guest are viewing this topic.

Offline Optimus

  • Emperor
  • **
  • Posts: 1 474
  • Karma: +13/-1
Yellow Key
« on: 21 March, 2004, 17:21:27 »
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 ;)

PtokaX forum

Yellow Key
« on: 21 March, 2004, 17:21:27 »

[NL]Pur

  • Guest
(No subject)
« Reply #1 on: 21 March, 2004, 18:40:16 »
don't bother too script it. You can uncheck it in the profile settings ;)

Offline Optimus

  • Emperor
  • **
  • Posts: 1 474
  • Karma: +13/-1
(No subject)
« Reply #2 on: 21 March, 2004, 19:27:08 »
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

Offline Skrollster

  • Lord
  • ***
  • Posts: 293
  • Karma: +3/-0
(No subject)
« Reply #3 on: 22 March, 2004, 07:25:46 »
Raw command to send to all users is:

$OpList $$$$$$|

but i think that this only will add ops, not remove them..
« Last Edit: 22 March, 2004, 07:25:57 by Skrollster »

Offline [NL]trucker

  • Lord
  • ***
  • Posts: 470
  • Karma: +2/-0
(No subject)
« Reply #4 on: 22 March, 2004, 08:31:53 »
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


Offline Event_Horizon

  • Lord
  • ***
  • Posts: 272
  • Karma: +3/-0
(No subject)
« Reply #5 on: 22 March, 2004, 12:01:06 »
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?

Offline Optimus

  • Emperor
  • **
  • Posts: 1 474
  • Karma: +13/-1
(No subject)
« Reply #6 on: 22 March, 2004, 13:05:48 »
Yups indeed 8)

[NL]Pur

  • Guest
(No subject)
« Reply #7 on: 22 March, 2004, 13:43:20 »
well it works fine here in ptokax :)

Offline Optimus

  • Emperor
  • **
  • Posts: 1 474
  • Karma: +13/-1
(No subject)
« Reply #8 on: 22 March, 2004, 14:39:05 »
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

Offline HaArD

  • Double Ace
  • *
  • Posts: 104
  • Karma: +2/-1
(No subject)
« Reply #9 on: 22 March, 2004, 14:39:12 »
$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...)

Offline Skrollster

  • Lord
  • ***
  • Posts: 293
  • Karma: +3/-0
(No subject)
« Reply #10 on: 22 March, 2004, 17:28:34 »
Quote
Originally 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

  • Guest
(No subject)
« Reply #11 on: 22 March, 2004, 18:00:27 »
Quote
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


Lmao

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

Offline Optimus

  • Emperor
  • **
  • Posts: 1 474
  • Karma: +13/-1
(No subject)
« Reply #12 on: 22 March, 2004, 18:50:25 »
haha indeed [NL]Pur that's a way to agree yups! :))

Offline Snooze

  • Scripter
  • Viking
  • ******
  • Posts: 606
  • Karma: +54/-3
    • DiXBoT Website
(No subject)
« Reply #13 on: 26 May, 2004, 20:03:58 »
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

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #14 on: 26 May, 2004, 22:34:39 »
Quote
Originally 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 <----<<

Offline HaL

  • Member
  • ***
  • Posts: 28
  • Karma: +0/-0
yellow key
« Reply #15 on: 26 May, 2004, 23:24:51 »
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$|")






« Last Edit: 26 May, 2004, 23:41:18 by HaL »

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #16 on: 27 May, 2004, 00:27:24 »
Quote
Originally 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 <----<<

Offline HaL

  • Member
  • ***
  • Posts: 28
  • Karma: +0/-0
(No subject)
« Reply #17 on: 27 May, 2004, 00:39:21 »
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.

Offline Snooze

  • Scripter
  • Viking
  • ******
  • Posts: 606
  • Karma: +54/-3
    • DiXBoT Website
(No subject)
« Reply #18 on: 27 May, 2004, 05:20:33 »
Thanks for the suggestions ..

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #19 on: 27 May, 2004, 14:34:58 »
Quote
Originally 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 <----<<

PtokaX forum

(No subject)
« Reply #19 on: 27 May, 2004, 14:34:58 »