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.

Search found 2 matches

by ZeRoMe
Thu May 18, 2006 12:17 pm
Forum: Scripting Help
Topic: [regsub] Parsing problem
Replies: 1
Views: 3269

[regsub] Parsing problem

Hello! Sorry I'm french and my english is'nt verry good ^^ For explain my problem view this example: .tcl set text {[email=my@email.com]Mon email[/email] [email]my@email.com[/email]} This is OK. And when I use: .tcl regsub -- {\[email=(.*)\](.*)\[/email\]} $text "<a href='mailto:\\1'>\\2</a>&qu...
by ZeRoMe
Mon May 01, 2006 1:39 pm
Forum: Scripting Help
Topic: Sort database
Replies: 3
Views: 5373

To sort correctly your score you must place item in first place, for exemple:
345,nick1,23,56
To order by item 4 (56) place this in first position:
56,345,nick1,23
Use split and lindex commands.