| View previous topic :: View next topic |
| Author |
Message |
silverboy Halfop
Joined: 11 Feb 2006 Posts: 55
|
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Feb 12, 2006 1:23 am Post subject: |
|
|
No one would be silly enough to download that; post the script using code tags.
And which Network? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
silverboy Halfop
Joined: 11 Feb 2006 Posts: 55
|
Posted: Sun Feb 12, 2006 1:45 am Post subject: |
|
|
the script is too big to b posted wif the code, n the server is UNDERNET  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Feb 12, 2006 2:53 am Post subject: |
|
|
| silverboy wrote: | the script is too big to b posted wif the code, n the server is UNDERNET  |
Then you will have to be patient and see if any will download it and look at it. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Feb 12, 2006 11:03 am Post subject: |
|
|
Search for the lines where the kick/ban is and change it to whatever you want. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
silverboy Halfop
Joined: 11 Feb 2006 Posts: 55
|
Posted: Sun Feb 12, 2006 9:29 pm Post subject: |
|
|
if {$type == "join"} {
putserv "kick [lindex $args 0] [lindex $args 1] :Open socks v$reply found on $host!"
if {$bantime != ""} { newban *!*@${host} $botnick "Open socks v$reply found on $host!" $bantime }
well i dunno evn the basc of tcl scrptn to change dis... i jz kno a lil of irc scriptn' i tried someone thr like putser :Privmsg x: ban $chan <--dunno wot comes after this lol |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Feb 12, 2006 10:32 pm Post subject: |
|
|
| Code: | | putserv "privmsg x :<whatever syntax used to ban through x here>" |
[lindex $args 0] = chan
[lindex $args 1] = nick
$host = ip
$bantime = ban time in minutes _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
silverboy Halfop
Joined: 11 Feb 2006 Posts: 55
|
Posted: Mon Feb 13, 2006 12:03 am Post subject: |
|
|
if {$bantime != ""} { newban *!*@${host} $botnick "Open socks v$reply found on $host!" $bantime }
well wt does it mean by this line then lol
do i hav to edit that newban too for the script to ban via x ? or js leave it lik tat |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Feb 13, 2006 2:02 am Post subject: |
|
|
| silverboy wrote: | if {$bantime != ""} { newban *!*@${host} $botnick "Open socks v$reply found on $host!" $bantime }
well wt does it mean by this line then lol
do i hav to edit that newban too for the script to ban via x ? or js leave it lik tat |
The above simply means that if the variable "bantime" is not empty then go ahead and set the ban with the duration as contained in $bantime.
One would assume the code just below that line would handle the ban if "bantime" is empty (i.e. setting a default duration for the ban). _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
silverboy Halfop
Joined: 11 Feb 2006 Posts: 55
|
Posted: Wed Jun 13, 2007 6:46 am Post subject: |
|
|
I changed it to
putserv "privmsg x :ban [lindex $args 0] *!*@${host} 2400 499 "
but it didnt work and i dont see any errors? _________________ proxyz..proxyz...i see everywher... O_o |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Jun 13, 2007 9:51 am Post subject: |
|
|
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Jun 13, 2007 4:16 pm Post subject: |
|
|
| silverboy wrote: | I changed it to
putserv "privmsg x :ban [lindex $args 0] *!*@${host} 2400 499 "
but it didnt work and i dont see any errors? |
You replaced what exactly? _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|