First Script need help please

Discussion in 'Scar/Simba Help' started by jaimefire2, Feb 23, 2008.

First Script need help please
  1. Unread #1 - Feb 23, 2008 at 6:12 PM
  2. jaimefire2
    Joined:
    Feb 19, 2008
    Posts:
    401
    Referrals:
    0
    Sythe Gold:
    0

    jaimefire2 Forum Addict

    First Script need help please

    I've read many guides and i still not very fond of scripting. I think i get the basic concept but it get mixed up with the variables and procedures. Here is my first ever script its not even close to done, but i think im at the part where i should put the variables but im not sure how to do it. So i would appreciate your help and i would give you credit for the script. Thanks:)

    Code:
    Program autotalker;
    Begin

    Writeln('Plese Report problems')
    end;

    Const

    Msg = Hey;// write what you want to say here

    Msg2 = sup;// write the second thing you want to say here

    Eff1 = wave2;// what effect you want to do

    Eff2 = flash2;// what effevt you want for message 2

    Msginterval = 5000;// how long before each message

    loops = 100;// how many times you want to say the message.

    lastcall = 1// 1 if you want the autoer to say last call after all the loops.
    //0 if you want it to execute

    Logout = 1// if you want to log out and say too late when done with the loops.








    var

    a, x, y: integers;

    a:=0;

    x:= lastcall;

    y:= logout;
     
  3. Unread #2 - Feb 23, 2008 at 6:16 PM
  4. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    First Script need help please

    If you wanna autotalk, instead of "Msg1 = Hey;" put " Msg1 = 'Hey'; cuz "hey" is a word not a number so it must be in strings.The same for the effects and msgs.
     
  5. Unread #3 - Feb 23, 2008 at 6:30 PM
  6. jaimefire2
    Joined:
    Feb 19, 2008
    Posts:
    401
    Referrals:
    0
    Sythe Gold:
    0

    jaimefire2 Forum Addict

    First Script need help please


    so just change msg to msg1 and it becomes a string?:confused:
     
  7. Unread #4 - Feb 23, 2008 at 6:59 PM
  8. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    First Script need help please

    no, Put 'hey' instead of hey
     
  9. Unread #5 - Feb 23, 2008 at 7:18 PM
  10. jaimefire2
    Joined:
    Feb 19, 2008
    Posts:
    401
    Referrals:
    0
    Sythe Gold:
    0

    jaimefire2 Forum Addict

    First Script need help please

    okay so even with the effects i put 'wave2';?
    and if so how do i do the parts with the variables.
    sorry im asking so much but i really want to learn how to script
     
  11. Unread #6 - Feb 23, 2008 at 8:03 PM
  12. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    First Script need help please

    Yes with effects too. You can dont need vars. const can be used without vars, the script should be something like this:
     
  13. Unread #7 - Feb 23, 2008 at 9:01 PM
  14. jaimefire2
    Joined:
    Feb 19, 2008
    Posts:
    401
    Referrals:
    0
    Sythe Gold:
    0

    jaimefire2 Forum Addict

    First Script need help please

    thats where you lost me, where do you learn all the commands and stuff? im really sorry im asking you alot but i had not past experience with scripting at all:eek:
     
  15. Unread #8 - Feb 23, 2008 at 9:13 PM
  16. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    First Script need help please

    Go to www.srl-forums.com there are a lot of tuts there
     
< Weird scar error plz help | Greets >

Users viewing this thread
1 guest


 
 
Adblock breaks this site