This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

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

Help with usage of shell accounts and bouncers.
Post Reply
F
FireWarrior
Voice
Posts: 19
Joined: Tue Oct 28, 2008 1:12 am

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

Post by FireWarrior »

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: Select all

/msg NickServ@services.dal.net RELEASE MyNick password 
1.1. and then changing back to the nick when it is released, command:

Code: Select all

/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):
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: Select all

-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: Select all

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: Select all

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: Select all

/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: Select all

-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: Select all

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
F
FireWarrior
Voice
Posts: 19
Joined: Tue Oct 28, 2008 1:12 am

The psyBNC NickServ script for dal.net

Post by FireWarrior »

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: Select all

; 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
User avatar
4mirc
Voice
Posts: 37
Joined: Fri May 16, 2008 11:11 pm
Contact:

Post by 4mirc »

hello

may i know where to put this code ?

and thx alot
F
FireWarrior
Voice
Posts: 19
Joined: Tue Oct 28, 2008 1:12 am

psyBNC script: How and where?

Post by FireWarrior »

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
User avatar
4mirc
Voice
Posts: 37
Joined: Fri May 16, 2008 11:11 pm
Contact:

Post by 4mirc »

thx alot FireWarrior

your reply helpfull for me and all

i love this forum coz its helpfull site for all

thx alot
Post Reply