Forced nickchange?

These are old archives. They are kept for historic purposes only.
Nemus
Posts: 4
Joined: Thu Sep 02, 2004 8:55 pm

Forced nickchange?

Post by Nemus »

I have searched a little, even among services and modules. Maybe I'm blind and just missing something obvious, but is there a commando with which I can change a user's nick? Such as "/sanick" or something.
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

This URL might help a little.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

That doesn't seem too constructive Stealth... :)

I belive there may be a module to allow you to do this, have a look at http://www.angrywolf.org - there may be one there.

or:
if you have services with RAW enabled, do something like:

/msg operserv RAW SVSNICK oldnick newnick

I believe Anope has an operserv SVSNICK command, but I'm unsure.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

It does.

Code: Select all

[01:51:02] Private: <OperServ> Syntax: SVSNICK nick newnick
[01:51:02] Private: <OperServ>  
[01:51:02] Private: <OperServ> Forcefully changes a user's nickname from nick to newnick.
[01:51:02] Private: <OperServ>  
[01:51:02] Private: <OperServ> Limited to Super admins
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Codemastr wrote such a module, not AngryWolf:

http://www.codemastr.com/?page=module
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

There's a free module at ircd-mods.com that does the same, but codemastr's is much better.
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

/msg operserv RAW SVSNICK oldnick newnick 1
Why the hell can't my signature be empty?
"Your message contains too few characters."
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

To Jason: Yes, that does the nickchange, but sets "last nickchange time" to something invalid (earlier than "connection time"). If you aren't lazy, I would recommend you to use as correct timestamp as possible.
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

I dont know how to get a correct timestamp. Does mIRC have something for this, and will timezone matter? does TSCTL matter?
Why the hell can't my signature be empty?
"Your message contains too few characters."
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Jason wrote:I dont know how to get a correct timestamp. Does mIRC have something for this, and will timezone matter?
Use $ctime, like so: //os raw :OperServ SVSNICK oldnick newnick $ctime

The CTime value is GMT, so timezone wont matter, its the same thing Unreal uses (to my knowledge).
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Bah. So I forgot how to send an SVSNICK.

:p
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

For heavens sake, don't use RAW! OperServ has an SVSNICK command built in and will ensure you don't cause a nick collision with it, and will take care of the actual format for you :P !
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

1. Note: In Anope, /OS SVSNICK (and /OS UMODES) is turned off by default. You must enable it in config.h (docs/FAQ #32).

2. aquanight (or anyone), can you please tell me a possible situation when using /OS RAW SVSNICK leads to a nick collision? I haven't ever experienced any yet. Of course it's better not to use /OS RAW, especially if you have other, much safer ways to change nicks, but SVSNICK isn't very dangerous, I think. (Correct me if I'm wrong.)
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

It isnt dangerous, at least, not in Unreal. Because, as you have pointed out aquanight, SVSNICK causes an :oldnick NICK newnick to be sent out.

So nyeh. :p
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
heinz
Posts: 90
Joined: Mon Mar 08, 2004 4:08 pm
Location: United Kingdom
Contact:

Post by heinz »

*explodes silently in a corner*

A little quote from the #anope support room regarding the use of RAW:
RAW is a developer tool ONLY. Only a fool would ever have it enabled on a network with real users. RAW has the ability to crash your network, desync your services and comprimise any network security you have. You may be banned for pasting raw strings in this room, and we refuse to support people who have raw enabled.
Thats my 2 cents :)
Chris Hogben
Chief Tester, QA Team - Anope IRC Services
Co-Owner - PhpMemX.Net
Post Reply