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.

simple script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
User avatar
Madalin
Master
Posts: 310
Joined: Fri Jun 24, 2005 11:36 am
Location: Constanta, Romania
Contact:

simple script

Post by Madalin »

I need a script that when i type
.bnc NICKNAME, the eggdrop displays something PRIVMSG,NOTICE,CHAN.. to that NICKNAME, and something that i can put/add as manny words as ".bnc,.psybnc,.." with their description..
thanks
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

SirFz, you got that? ;)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Re: simple script

Post by DragnLord »

Madalin wrote:I need a script that when i type
.bnc NICKNAME, the eggdrop displays something PRIVMSG,NOTICE,CHAN.. to that NICKNAME, and something that i can put/add as manny words as ".bnc,.psybnc,.." with their description..
thanks
What? I can't work out what you're asking for, maybe someone else can.
User avatar
Madalin
Master
Posts: 310
Joined: Fri Jun 24, 2005 11:36 am
Location: Constanta, Romania
Contact:

Post by Madalin »

I type
.bnc Madalin
the eggdrop tells me by NOTICE ( to change vhost type /bvhost ip ... )
...
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

demond wrote:SirFz, you got that? ;)
Yeah.... maybe (according to his last post :lol: )

Code: Select all

bind pub - .bnc bnc

proc bnc {nick uhost hand chan arg} {
 if {[onchan [set n [lindex [split $arg] 0]] $chan]} {
  puthelp "notice $n :To change your vhost, type /bvhost <new vhost>"
 }
}
User avatar
Madalin
Master
Posts: 310
Joined: Fri Jun 24, 2005 11:36 am
Location: Constanta, Romania
Contact:

Post by Madalin »

ok thanks its worcking .. and if i want to add more commands like (.bnc) i make a line with (#######) and then i rewrite the code changing what i need?
Post Reply