egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

change nicknames

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
blake
Master


Joined: 23 Feb 2009
Posts: 201

PostPosted: Mon Jul 18, 2011 6:42 pm    Post subject: change nicknames Reply with quote

Hey

I have done a bit of code that allows my bot to use svsnick on my server but i would like to add to it our rooms are set to +N so people cant keep changing there nicks and using nicknames that are offencive

here the code i have done myself and yes before any one says anything its terrible

Code:
bind msg A|A chgnick cmd:chgnick
proc cmd:chgnick {nick uhost hand arg} {
  set username [lindex [split $arg] 0]
  set newnick [join [lrange [split $arg] 1 end]]
  putserv "OPERSERV set superadmin on"
  putserv "OPERSERV svsnick $username $newnick"
  putserv "OPERSERV set superadmin off"
  putserv "NOTICE #Staff <$username> changed to <$newnick> actioned by <$nick>"
}


is what i would like to add to this is the following
someone with any of these user flags h o types /botnick changenick oldnickname newnick it will msg #staff with nick is requesting a nickchange on oldnick new nick to action this change type /botnick action changenick it will then go through the above process to change the nickname and notice #staff of the change and who actioned it NOTICE #Staff nickchange on oldnick actioned by $nick

also should have the option to decline the nickchange with /botnick decline changenick then reports back to #staff request to changenick for oldnick declined

thanks in advance
_________________
Blake
UKEasyHosting UKStormWatch
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber