Thread: RuneScript

Page 1 of 23 12311 ... LastLast
Results 1 to 10 of 225
  1. #1 RuneScript 
    Номер 1

    Leanbow's Avatar
    Join Date
    Feb 2008
    Posts
    5,913
    Thanks given
    1,548
    Thanks received
    2,605
    Rep Power
    5000












    First line is trigger that tells when that script should run.
    [opnpc1,Artist1]
    Opnpc1 - is npc option 1(Talk)
    Artist1 - is server sided config name of the Da vinci npc?

    % - variable
    $ - script variable
    ~ - gosub
    @ - jump
    <> - evaluate

    Quote Originally Posted by Mod Ash
    If you call a script with ~ or @, you can pass in arguments. If you use "gosub()" or "jump()" you can't.
    Reply With Quote  
     


  2. #2  
    Registered Member

    Join Date
    Dec 2012
    Posts
    3,010
    Thanks given
    897
    Thanks received
    925
    Rep Power
    2525
    rs using ints as booleans
    Reply With Quote  
     

  3. Thankful users:


  4. #3  
    Banned

    Join Date
    Mar 2011
    Posts
    4,069
    Thanks given
    194
    Thanks received
    688
    Rep Power
    0
    from what i'm seeing

    ~ - invoking method
    % - calling a field
    < > - the params

    incase this is what youre asking at the bottom of the post
    Reply With Quote  
     

  5. #4  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    25
    Posts
    16,064
    Thanks given
    7,048
    Thanks received
    11,850
    Discord
    Scu11#7214
    Rep Power
    5000
    Quote Originally Posted by relex lawl View Post
    from what i'm seeing

    ~ - invoking method
    % - calling a field
    < > - the params

    incase this is what youre asking at the bottom of the post
    u say ~ is invoking method but then when the invdel method is called that isnt the case

    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  6. #5  
    Apocalyptism
    Harry's Avatar
    Join Date
    Apr 2007
    Posts
    3,783
    Thanks given
    594
    Thanks received
    1,834
    Rep Power
    2934
    Quote Originally Posted by Scu11 View Post
    u say ~ is invoking method but then when the invdel method is called that isnt the case
    Maybe the ~ has something to do with waiting for a user input before continuing. Such as waiting until you press 'click here to continue'.

    Just a guess.
    ~ Harry
    Please bear this in mind when hearing the word 'soon' from a software programmer.

    As coding software generally takes thousands of years, software programmers have developed a natural adaptation to this in the form of an altered perception of the flow of time.

    Due to this, the word 'soon' when uttered by a programmer should be taken to mean 'a very, very long time from now' in the terminology used by common human specimens who have not developed such an adaptation.
    knowledge can be taught, but passion cannot.
    It's better to create something that others criticise than to create nothing and criticise others.
    Reply With Quote  
     

  7. #6  
    Номер 1

    Leanbow's Avatar
    Join Date
    Feb 2008
    Posts
    5,913
    Thanks given
    1,548
    Thanks received
    2,605
    Rep Power
    5000
    Quote Originally Posted by Harry View Post
    Maybe the ~ has something to do with waiting for a user input before continuing. Such as waiting until you press 'click here to continue'.

    Just a guess.
    Could be what people call stall. Not quite sure.
    Reply With Quote  
     

  8. #7  
    Banned

    Join Date
    Mar 2011
    Posts
    4,069
    Thanks given
    194
    Thanks received
    688
    Rep Power
    0
    Quote Originally Posted by Scu11 View Post
    u say ~ is invoking method but then when the invdel method is called that isnt the case
    mm yes taking a second look at it, inv_total doesn't do this either, but i did notice it's being used in all the dialogue related methods

    most likely it's what harry has stated
    Reply With Quote  
     

  9. #8  
    Registered Member

    Join Date
    Mar 2011
    Posts
    1,227
    Thanks given
    245
    Thanks received
    475
    Rep Power
    294
    Variable names are prefixed by their type, % represents an integer. [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #9  
    Номер 1

    Leanbow's Avatar
    Join Date
    Feb 2008
    Posts
    5,913
    Thanks given
    1,548
    Thanks received
    2,605
    Rep Power
    5000
    Quote Originally Posted by Harry View Post
    Maybe the ~ has something to do with waiting for a user input before continuing. Such as waiting until you press 'click here to continue'.

    Just a guess.

    ~playerhit. So I think it does something diff.
    Reply With Quote  
     

  11. #10  
    Номер 1

    Leanbow's Avatar
    Join Date
    Feb 2008
    Posts
    5,913
    Thanks given
    1,548
    Thanks received
    2,605
    Rep Power
    5000
    Quote Originally Posted by Belz View Post
    I remember reading a thread on Sythe that explained all the syntax, had examples, and what all the symbols meant

    EDIT: Okay apparently that wasn't it, but here's a link to it: [Only registered and activated users can see links. ]
    This is classic, we're talkin about post rsc.
    Reply With Quote  
     

Page 1 of 23 12311 ... LastLast

Thread Information
Users Browsing this Thread

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

  1. ReverendDread

User Tag List

Similar Threads

  1. [Official] RuneScript
    By Zonchord in forum Help
    Replies: 2
    Last Post: 07-04-2010, 03:28 AM
  2. RuneScript
    By Markian in forum Help
    Replies: 4
    Last Post: 03-15-2010, 06:12 AM
  3. RuneScript Base Bot
    By Linux in forum Projects
    Replies: 10
    Last Post: 02-04-2010, 01:30 AM
  4. Project RuneScript
    By Vastiko in forum Projects
    Replies: 14
    Last Post: 10-25-2009, 09:08 PM
  5. What is runescript?
    By Meanz in forum RS2 Server
    Replies: 5
    Last Post: 08-18-2009, 02:18 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •