This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

little help with mel tcl

Help for those learning Tcl or writing their own scripts.
Post Reply
Z
Zohaib
Voice
Posts: 22
Joined: Wed May 18, 2011 3:30 am

little help with mel tcl

Post by Zohaib »

Greetings,

I wanted little help with Mel tcl

Code: Select all

			join {set addline "\[$curTime\] *** [lindex $args 1] ([lindex $args 2]) has joined $curChannel"}
so basically this logs join as

Code: Select all

[21:27:35]  *** Dark_Knight has joined #[3x]BTTDMAdmins
how can i alter this line to log joins as this:

Code: Select all

 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>
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

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
.
Z
Zohaib
Voice
Posts: 22
Joined: Wed May 18, 2011 3:30 am

Post by Zohaib »

I have a San Andreas Server Which send all logs on IRC, format of the logs is like this:

Code: Select all

[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>
Post Reply