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 

little help with mel tcl

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


Joined: 18 May 2011
Posts: 22

PostPosted: Sun Dec 28, 2014 12:32 pm    Post subject: little help with mel tcl Reply with quote

Greetings,

I wanted little help with Mel tcl

Code:
         join {set addline "\[$curTime\] *** [lindex $args 1] ([lindex $args 2]) has joined $curChannel"}


so basically this logs join as
Code:
[21:27:35]  *** Dark_Knight has joined #[3x]BTTDMAdmins

how can i alter this line to log joins as this:

Code:
 TuFaN(29) has joined the server.  [Country: Turkey | IP Address: 85.98.231.164]

where
TuFaN is nick
(29) is player id
85.98.231.164 is ip

i will be very thankful for the help
_________________
<Zohaib>
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Sun Dec 28, 2014 4:02 pm    Post subject: Reply with quote

You not provide enough info or supporting code to pull off an answer for this:)
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
Zohaib
Voice


Joined: 18 May 2011
Posts: 22

PostPosted: Wed Dec 31, 2014 10:16 am    Post subject: Reply with quote

I have a San Andreas Server Which send all logs on IRC, format of the logs is like this:
Code:
[19:12:50] <kenworthbot>  ionut(2) has joined the server.  [Country: Private IP | IP Address: 176.223.22.3]
[19:12:51] <frieghtlinerbot> [6] [KOD]Proff[SS]: id 6
[19:12:52] <frieghtlinerbot> *** Train (30) has left the server (Timeout)


where <kenworthbot> and <frieghtlinerbot> are bots which relay the logs on IRC, I wanted to save the logs on an eggdrop where I can request information of any Nick name anytime[/quote]

Thanks alot SpiKe^^ for replying I am a fan of your tcl scripts
_________________
<Zohaib>
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