A few questions

Discussion in 'Scar/Simba Help' started by endlesslyonline, Jun 8, 2011.

A few questions
  1. Unread #1 - Jun 8, 2011 at 4:26 AM
  2. endlesslyonline
    Joined:
    May 26, 2011
    Posts:
    3
    Referrals:
    0
    Sythe Gold:
    0

    endlesslyonline Newcomer

    A few questions

    Firstly, i just want to say, i did try and Google all these, maybe my Google searching techniques are letting me down, but i really could not fins any answers, that's why i come to you.

    OK, Question1:
    When i make my scar scrip to create a new INI with help of writeini, i get this:

    [example1]
    text=one
    text=two
    [example2]
    text=three
    text=four


    how do i get scar to write a clean line above [example2] and is there a way to get scar to write #comments in the INI ?

    so that it looks like this:

    [example1]
    text=one
    text=two

    [example2]
    text=three
    text=four


    Question2: message dlg boxes

    firstly, how can i center the message box on the form? and secondly, i have a message box with the following text:

    this is a bunch of text that is displayed when clicking the button.

    but i want it to be like:

    this is a bunch of text that
    is displayed when clicking the button


    how do i get the text split up? i know in vb it is vbCrLf, what do i use in scar?​


    Question4:
    ok, so i want to do the whole shellexecute function to open up notepad from the scar script form, i have done this in scar3.22 and got an error, then i went to settings and turned on API-calls in the settings and it works, now ....
    i want to run the same script in scar 3.15, same error, so that means API calls are disabled, but there is no option to enable it in the options?

    Question3:
    this is not so much a question, more a request for a good tutorial to on how to make a script with multiple forms​


    Thanks for your time, and hoping to get some help/feedback.
     
  3. Unread #2 - Aug 31, 2011 at 3:47 PM
  4. p0werpete
    Joined:
    Aug 31, 2011
    Posts:
    26
    Referrals:
    0
    Sythe Gold:
    0

    p0werpete Member

    A few questions

    ['String;action=Center
    1932-code=2
    script,script1
     
< scar? | can't start the bot - please help >

Users viewing this thread
1 guest


 
 
Adblock breaks this site