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.

WOW version

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
F
FarCry
Voice
Posts: 7
Joined: Wed Jul 11, 2007 2:27 pm

WOW version

Post by FarCry »

Hmm i have a question how to create TCL script use World of Warcraft game
to validate VERSION like that
type !wow -eu/na version
<WoWbot>World of Warcraft Europian/North America: Version x.x.x(2.1.3) xxxx(6666) Realease: Month date year(July 12 2007)
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Code: Select all

set ctcp-version "World of Warcraft Europian/North America: Version x.x.x(2.1.3) xxxx(6666) Release: Month date year(July 12 2007)"
You just have to edit the code so that it displays the date accordingly to everyday.

Something like this?

Code: Select all

[clock format [clock seconds] -format "%a %d %b %Y at %I:%M:%S%p"]
Check: http://www.tcl.tk/man/tcl8.3/TclCmd/clock.htm for a more detailed info.

Btw, I'm a die hard fan of DOTA myself :D
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
F
FarCry
Voice
Posts: 7
Joined: Wed Jul 11, 2007 2:27 pm

Post by FarCry »

awyeah wrote:

Code: Select all

set ctcp-version "World of Warcraft Europian/North America: Version x.x.x(2.1.3) xxxx(6666) Release: Month date year(July 12 2007)"
You just have to edit the code so that it displays the date accordingly to everyday.

Something like this?

Code: Select all

[clock format [clock seconds] -format "%a %d %b %Y at %I:%M:%S%p"]
Check: http://www.tcl.tk/man/tcl8.3/TclCmd/clock.htm for a more detailed info.

Btw, I'm a die hard fan of DOTA myself :D
Nope not this only date of release of this patch )
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Well my dear, FarCry, either you have all the info stored as global variables in a script, or wherever you get them from: for the date of release, versions etc, you can add that in the ctcp version.

Here is an example:

Code: Select all

set warcraft(version) "v4.25.b"
set warcraft(date) "1st January 2007"

set ctcp-version "Warcraft $::warcraft(version) - Released: $::warcraft(date)"
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
F
FarCry
Voice
Posts: 7
Joined: Wed Jul 11, 2007 2:27 pm

Ty

Post by FarCry »

Thx
Post Reply