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 

NickServ!services@dal.net RELEASE & /nick MyNick

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Shell & Bouncer Help
View previous topic :: View next topic  
Author Message
FireWarrior
Voice


Joined: 28 Oct 2008
Posts: 19

PostPosted: Thu Feb 18, 2010 7:26 pm    Post subject: NickServ!services@dal.net RELEASE & /nick MyNick Reply with quote

Hello all,
This is my first post regarding psyBNC scripting and Iím an absolute neophyte at it; which I guess is TMI already...
My query is regarding a script for performing the following:
1. auto NickServ RELEASE command on irc.dal.net when needed, command:
Code:
/msg NickServ@services.dal.net RELEASE MyNick password

1.1. and then changing back to the nick when it is released, command:
Code:
/nick MyNick

Having stated that let me get to the problem/s which I faced; do bear with the painful details:
1. When my nick is held, this is the message I get (in my status and status only):
Quote:
MyNick The nick MyNick is currently being held by a Services Enforcer. If you are the nicks owner, use /msg NickServ@services.dal.net RELEASE MyNick password to release the nickname. If the nickname recently expired, please wait patiently and try again later.

1.1. It does NOT come as a notice from NickServ!services@dal.net , like the NOTICE asking me to identify to MyNick:
Code:
-NickServ- This nick is owned by someone else. Please choose another.

1.2. So I treat the abovevas a PRIVMSG from irc.dal.net and start my script as:
Code:
server PRIVMSG irc.dal.net  *  ď*The nick MyNick is currently being held by a Services Enforcer.*Ē   echo "PRIVMSG NickServ!services@dal.net :RELEASE MyNick password"

The above does not work.
1.3. Iíve used the same syntax as the auto identify script which works fine for me:
Code:
server NOTICE NickServ!services@dal.net  * "*This nickname is registered and protected*"  echo "PRIVMSG NickServ :IDENTIFY password"

2. When done manually, the NickServ@services.dal.net RELEASE command releases the nick from the Services Enforcer, but to change back to the original nick one has to perform the following:
Code:
/nick MyNick

2.1. Now this command sent to irc.dal.net (Iím guessing), which is to say it can be performed in:
ē The status bar
ē In the channel
ē In the query window etc.
3. Of course once the nick is released NickServ!services@dal.net sends a NOTICE saying:
Code:
-NickServ- The nickname MyNick has been released.

3.1.So I wrote the following to help me change back to my nick after the NickServ@services.dal.net RELEASE command has been performed (manually or otherwise):
Code:
server NOTICE NickServ!services@dal.net * "The nickname * has been released." echo "PRIVMSG irc.dal.net :NICK FireWarrior "

That too, does not work.
4. To conclude all I can think of is that my error lies in not being able to understand how to deal with irc.dal.net and NickServ.
Iíd be highly obliged if anyone could help and point me in the right direction. Many thanks in advance,
Regards,
FireWarrior
Back to top
View user's profile Send private message
FireWarrior
Voice


Joined: 28 Oct 2008
Posts: 19

PostPosted: Tue Feb 23, 2010 3:42 pm    Post subject: The psyBNC NickServ script for dal.net Reply with quote

This script is written specifically for dal.net and it will perform the NickServ IDENTIFY, RELEASE and GHOST commands when needed.
I would like to mention that TheAvatar (developer of psyBNC) was a great help, therefore the credit of the script, in no small measure belongs to him.
Enjoy.

Code:

; performs NickServ IDENTIFY

server NOTICE NickServ!service@dal.net * "*This nickname is registered and protected*" echo "PRIVMSG NickServ@services.dal.net :IDENTIFY <PASSWORD>";
server NOTICE NickServ!service@dal.net * "This nick is owned by someone else. Please choose another." echo "PRIVMSG NickServ@services.dal.net :IDENTIFY <PASSWORD>";

; performs NickServ RELEASE and changes back to the nick you specify using the command /NICK <NICK>

server 432 * * * echo "PRIVMSG NickServ@services.dal.net :RELEASE <NICK> <PASSWORD>";
server NOTICE NickServ!service@dal.net * "The nickname * has been released." echo "NICK <NICK>";

; performs NickServ GHOST and changes back to the nick you specify using the command /NICK <NICK>

server 433 * * "*Nickname is already in use*" echo "PRIVMSG NickServ@services.dal.net :GHOST <NICK> <PASSWORD>";
server NOTICE NickServ!service@dal.net * "Your ghost has been successfully killed." echo "NICK <NICK>";




Regards,

FireWarrior
Back to top
View user's profile Send private message
4mirc
Voice


Joined: 16 May 2008
Posts: 37

PostPosted: Sat Sep 04, 2010 12:11 am    Post subject: Reply with quote

hello

may i know where to put this code ?

and thx alot
Back to top
View user's profile Send private message Visit poster's website
FireWarrior
Voice


Joined: 28 Oct 2008
Posts: 19

PostPosted: Tue Oct 12, 2010 5:32 am    Post subject: psyBNC script: How and where? Reply with quote

Hello 4mirc,

My apologies for the late reply, but as they say, ďbetter late than neverĒÖ

There are two basic things that you need to do/know to make the script work for you.

    1.How to name the script file, and

    2.Where to place it

Letís take it one step at a time.

1.How to name the script file

    1.1.Create a .txt file, paste the code into it and edit it with your nick and pass word in the proper place.

    1.2. Open your psyBNC.conf file and check what is the user number of your nick on your psyBNC. Iíll give you an example from my conf file: USER1.USER.NICK=FireWarrior

    1.3. Now rename the .txt appropriately using the format USERnn.SCRIPT where nn is your user number.

    1.4.Since my user number is 1, Iíll name my script file USER1.SCRIPT

    1.5.Please note nn should never have the value 00, or the script shall not work, itís got to do with the psyBNC coding

Now for the next and final step.

2.Where to place it

    2.1.Place your script in /psybnc/scripts

    2.2.Then log on to mirc and in the status window type: /SRELOAD

    2.3.Once you get a response from your psyBNC youíre set, enjoy!

    2.4.In case you do not get a response from your psyBNC, chances are youíve not enabled scripting in your bouncer configuration, please do so and then repeat step 2.1.

Hope this helps, in case you need further clarification please ask.

Regards,

FireWarrior
Back to top
View user's profile Send private message
4mirc
Voice


Joined: 16 May 2008
Posts: 37

PostPosted: Tue Oct 12, 2010 5:46 am    Post subject: Reply with quote

thx alot FireWarrior

your reply helpfull for me and all

i love this forum coz its helpfull site for all

thx alot
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 -> Shell & Bouncer Help 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