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 ;)
don't bother too script it. You can uncheck it in the profile settings ;)
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
Raw command to send to all users is:
$OpList $$$$$$|
but i think that this only will add ops, not remove them..
skrollster
if i,m right he wants to remove the keysymbol only not the OP
removing the yellow key ?(
if this is possible this would be great, so we can create undercover OPs :D
Yups indeed 8)
well it works fine here in ptokax :)
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
$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...)
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...
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.
haha indeed [NL]Pur that's a way to agree yups! :))
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
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
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$|")
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
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.
Thanks for the suggestions ..
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