Results 1 to 3 of 3

Thread: Deleting a Scripts File Path

  1. #1
    Join Date
    Feb 2013
    Location
    Narnia
    Posts
    615
    Mentioned
    8 Post(s)
    Quoted
    252 Post(s)

    Default Deleting a Scripts File Path

    when autoupdating is successfull.. is it possible to close simba and delete the outdated file off the computer? if so how?

    i thought i seen someone post a thread on how to delete your script off of a computer a couple months ago but i think that was for x amount of time or a certain date mm/dd/yy, cant find it though


    thanks

    View my OSR Script Repository!


    Botted to max
    Guides: How to Report Bugs to the Scripter
    ~~~~ Moved to Java. Currently Lurking ~~~~

  2. #2
    Join Date
    Feb 2013
    Location
    Narnia
    Posts
    615
    Mentioned
    8 Post(s)
    Quoted
    252 Post(s)

    Default

    Question 2: How can i count how many characters are in a Tedit box?

    im trying to create a failsafe so if the user enters a username or password under 4 characters a ShowMessage will appear telling them to enter a valid username or password

    im not familiar with arrays or array lengths

    Thanks

    View my OSR Script Repository!


    Botted to max
    Guides: How to Report Bugs to the Scripter
    ~~~~ Moved to Java. Currently Lurking ~~~~

  3. #3
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    You can delete files by calling DeleteFile().

    You can check the length of a string/array with Length().

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •