| View previous topic :: View next topic |
| Author |
Message |
Madalin Master

Joined: 24 Jun 2005 Posts: 310 Location: Constanta, Romania
|
Posted: Wed Apr 26, 2006 3:51 am Post subject: simple script |
|
|
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 |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Apr 26, 2006 4:06 am Post subject: |
|
|
SirFz, you got that?  _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Wed Apr 26, 2006 8:34 am Post subject: Re: simple script |
|
|
| 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. |
|
| Back to top |
|
 |
Madalin Master

Joined: 24 Jun 2005 Posts: 310 Location: Constanta, Romania
|
Posted: Wed Apr 26, 2006 10:06 am Post subject: |
|
|
I type
.bnc Madalin
the eggdrop tells me by NOTICE ( to change vhost type /bvhost ip ... )
... |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Apr 26, 2006 3:53 pm Post subject: |
|
|
| demond wrote: | SirFz, you got that?  |
Yeah.... maybe (according to his last post )
| Code: | 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>"
}
} |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Madalin Master

Joined: 24 Jun 2005 Posts: 310 Location: Constanta, Romania
|
Posted: Thu Apr 27, 2006 4:50 am Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
|