[
egghelp.org home
|
forum home
]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in to check your private messages
Log in
01 instead of 1
egghelp.org community Forum Index
->
Scripting Help
View previous topic
::
View next topic
Author
Message
Access
Voice
Joined: 04 Jun 2006
Posts: 22
Posted: Thu Jul 26, 2007 5:36 pm
Post subject: 01 instead of 1
Ok, im countin a variable with "incr"...
And he shows me: 1, 2, 3, 4....
But i want: 01, 02, 03, 04...
How can i do that?
Thanks...
Back to top
nml375
Revered One
Joined: 04 Aug 2006
Posts: 2857
Posted: Thu Jul 26, 2007 7:27 pm
Post subject:
Use the
format
command. Proper format-mask should be something like "%02d".
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
egghelp.org community Forum Index
->
Scripting Help
All times are GMT - 4 Hours
Page
1
of
1
Jump to:
Select a forum
Eggdrop
----------------
Eggdrop Help
Modules & Programming
Tcl Scripts
----------------
Tcl FAQ
Scripting Help
Script Support & Releases
Script Requests
Shell Accounts
----------------
Shell & Bouncer Help
Shell Providers
Other
----------------
Announcements & Other Stuff
Archive
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