Page 1 of 2
Forced nickchange?
Posted: Thu Sep 23, 2004 10:22 pm
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.
Posted: Fri Sep 24, 2004 12:21 am
by Stealth
This
URL might help a little.
Posted: Fri Sep 24, 2004 6:10 am
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.
Posted: Fri Sep 24, 2004 7:51 am
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
Posted: Fri Sep 24, 2004 8:29 am
by Dukat
Codemastr wrote such a module, not AngryWolf:
http://www.codemastr.com/?page=module
Posted: Fri Sep 24, 2004 12:51 pm
by AngryWolf
There's a free module at ircd-mods.com that does the same, but codemastr's is much better.
Posted: Fri Sep 24, 2004 3:03 pm
by Jason
/msg operserv RAW SVSNICK oldnick newnick 1
Posted: Fri Sep 24, 2004 7:01 pm
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.
Posted: Fri Sep 24, 2004 7:07 pm
by Jason
I dont know how to get a correct timestamp. Does mIRC have something for this, and will timezone matter? does TSCTL matter?
Posted: Fri Sep 24, 2004 9:36 pm
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).
Posted: Sat Sep 25, 2004 1:31 am
by w00t
Bah. So I forgot how to send an SVSNICK.
:p
Posted: Sat Sep 25, 2004 5:42 am
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

!
Posted: Sat Sep 25, 2004 10:19 am
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.)
Posted: Sat Sep 25, 2004 10:55 am
by w00t
It isnt dangerous, at least, not in Unreal. Because, as you have pointed out aquanight, SVSNICK causes an

ldnick NICK newnick to be sent out.
So nyeh. :p
Posted: Sat Sep 25, 2004 11:10 am
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
