I'm trying to send some stuff to notepad using a trigger, but I want to insert the current time when it's appended to the notepad and I can't seem to figure it out. I've tried using the tokens for logging but they are not working for the notepad or maybe I'm using them wrong. I've also tried doing the DoCommand "InsertDateTime", but that didn't work either. Thank You.
inserting current time
Posted by Norbert on Wed 04 Jun 2003 03:48 AM — 3 posts, 16,240 views.
Ill assume youre using VBScript (Since thats what youve been using in past posts), Just use the Now function, will give you the current time and date, there are also some other ones, Date, Time, etc.
Put them in as you would a normal variable
If youre using other languages, there are functions for time there too, but its easiest to do it via the Scripting engine, and not Mushclient.
Put them in as you would a normal variable
World.AppendToNotepad "Log", Now & ": " & Logged_Stuff & vbCrLfIf youre using other languages, there are functions for time there too, but its easiest to do it via the Scripting engine, and not Mushclient.
Thank you so much