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 

WOW version

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
FarCry
Voice


Joined: 11 Jul 2007
Posts: 7

PostPosted: Wed Jul 11, 2007 2:35 pm    Post subject: WOW version Reply with quote

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)
Back to top
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Fri Jul 13, 2007 3:31 am    Post subject: Reply with quote

Code:

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:

[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 Very Happy
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
FarCry
Voice


Joined: 11 Jul 2007
Posts: 7

PostPosted: Fri Jul 13, 2007 11:08 am    Post subject: Reply with quote

awyeah wrote:
Code:

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:

[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 Very Happy


Nope not this only date of release of this patch )
Back to top
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Sat Jul 14, 2007 2:23 pm    Post subject: Reply with quote

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:

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.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
FarCry
Voice


Joined: 11 Jul 2007
Posts: 7

PostPosted: Sun Jul 15, 2007 10:12 am    Post subject: Ty Reply with quote

Thx
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 -> Script Requests 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