| View previous topic :: View next topic |
| Author |
Message |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Sat Jul 08, 2006 11:12 am Post subject: is this correct? |
|
|
I'm trying to get the ident in this fashion *!*ident@* to check something, assuming identd is installed, so i m doing it with | Quote: | | set checkid "*!*[lindex [split [lindex [split $uhost @] 0] 1]]@*" | , any better solution? |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Sat Jul 08, 2006 12:54 pm Post subject: |
|
|
that won't even work.
[lindex [split $uhost @] 0] is enough for the ident.
using another [lindex [split 1]] (you didn't even use an index with that lindex so it would generate an error anyway is pointless. |
|
| Back to top |
|
 |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Sat Jul 08, 2006 8:56 pm Post subject: |
|
|
| Quote: | MeTroiD wrote:
that won't even work.
[lindex [split $uhost @] 0] is enough for the ident.
using another [lindex [split 1]] (you didn't even use an index with that lindex so it would generate an error anyway is pointless. |
thats working perfect, anyway thanks for the suggestion i would like to hear from demond, sky de_kuss and Sir_Fz. thanks. |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Sun Jul 09, 2006 6:46 am Post subject: |
|
|
then use private messaging .
This is a public forum and if you only want answers from them, i would advise you to use private messages.
It's fairly obnoxious to make a topic and then when you're being helped with a piece of scripting that doesn't and won't ever work correctly you ask that only certain people respond. |
|
| Back to top |
|
 |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Sun Jul 09, 2006 8:55 am Post subject: |
|
|
| Quote: | metroid wrote:
then use private messaging .
This is a public forum and if you only want answers from them, i would advise you to use private messages.
It's fairly obnoxious to make a topic and then when you're being helped with a piece of scripting that doesn't and won't ever work correctly you ask that only certain people respond. |
I didnt mean that, just said cause they are one of the most active people along with you  |
|
| Back to top |
|
 |
|