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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
FarCry
Voice
Posts: 7 Joined: Wed Jul 11, 2007 2:27 pm
Post
by FarCry » Wed Jul 11, 2007 2:35 pm
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)
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Fri Jul 13, 2007 3:31 am
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
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
FarCry
Voice
Posts: 7 Joined: Wed Jul 11, 2007 2:27 pm
Post
by FarCry » Fri Jul 13, 2007 11:08 am
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
Nope not this only date of release of this patch )
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Sat Jul 14, 2007 2:23 pm
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.
==================================
FarCry
Voice
Posts: 7 Joined: Wed Jul 11, 2007 2:27 pm
Post
by FarCry » Sun Jul 15, 2007 10:12 am
Thx