Thread: [Tutorial] Hack Tutorials: Scripting
View Single Post
  #104    
Old September 14th, 2007 (7:36 PM).
Luke128th's Avatar
Luke128th Luke128th is offline
These days shall pass...
     
    Join Date: Aug 2007
    Age: 26
    Gender: Male
    Nature: Hardy
    Posts: 85
    Alright now...
    I'm testing one of the scripts you posted, Follump. Everytime I finish compiling it do I just get the last set of offset numbers? And if so then I must be doing something wrong because the screen goes red...

    Here is the script:
    Quote:
    #ORG $begin
    lock
    faceplayer
    checkflag 0x200
    if B_true goto $done
    message $aidtalk
    boxset 6
    giveitem 0xD
    setflag 0x200
    release
    end

    #org $done
    message $aidtalk2
    boxset 6
    release
    end

    #org $aidtalk
    $aidtalk 1 = Oh, hello \v\h01.\pHere, take this potion!

    #org $aidtalk2
    $aidtalk2 1 = Hello.