|
Dark_Kamui_666 Newbie
Joined: 25 Mar 2003 Posts: 4 Location: USA
|
Posted: Tue Mar 25, 2003 7:10 pm
Guru Scripting help needed. |
Hey you Scripting GURU's. This is Kamui with a call out to see what the heck i am doing wrong. I am making a button script that will turn off and on my stuff set up for my ARENA matches on a MUD that I play. I have it all working pretty good. INARENA is just a alias that does what i want when I log in, and OUTARENA is the same. The Major problem it has is that I have is this.
#LO %TIME - This should, but all logic work to put a open log with the name of the Date/Time as it. Although it does not, it opens the log no problem but it does not save the file as: Monday March 24, 2003 8:35 am.txt
Any advice for this? Or how about getting it to auto shut off the log when I click the button again?
#IF (@FFA) {
FFA=0
inarena
#echo Arena Battling System Engaged, Logging Now.
#LO %time
} {
FFA=1
outarena
#echo Arena Battling System Disengaged.
}
The Jaydded Gamer,
The Dark RPG Prince-
Kamui |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Mar 25, 2003 8:26 pm |
So, what name does it give the log?
Kjata |
|
|
|
Dark_Kamui_666 Newbie
Joined: 25 Mar 2003 Posts: 4 Location: USA
|
Posted: Tue Mar 25, 2003 9:26 pm |
Doesn't, just opens a log without giving it a title. it shows:
Arena Battling System Engaged, Logging Now.
Log is on: Tuesday March 25, 2003 2:10:48 pm.txt
But it is not saved.
The Jaydded Gamer,
The Dark RPG Prince-
Kamui |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Mar 25, 2003 10:12 pm |
It doesn't like :'s
#LO %replace(%time,":","_")
Then to pause it
#LO
Ton Diening |
|
|
|
|
|