egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

is this correct?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Sat Jul 08, 2006 11:12 am    Post subject: is this correct? Reply with quote

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
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Sat Jul 08, 2006 12:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Sat Jul 08, 2006 8:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Sun Jul 09, 2006 6:46 am    Post subject: Reply with quote

then use private messaging Rolling Eyes .

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
View user's profile Send private message
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Sun Jul 09, 2006 8:55 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber