Thread: Interface check?

Results 1 to 7 of 7
  1. #1 Interface check? 
    Registered Member
    Join Date
    Oct 2012
    Posts
    210
    Thanks given
    5
    Thanks received
    10
    Rep Power
    11
    I have a command that loads the interface, but it loads it with the original text, I have a click item that refreshes instantly but i cant apply it to the command.

    Is there a way I can force it to refresh when the command is typed?

    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by BLahVLah View Post
    Hi, I wondering if anyone could help me with this interface issue (server sided).

    I change the text on the first page, but it uses the same action button. Is there a way for me to add a check to which interface is open so it will spawn the items I choose it too.



    Just create a variable like c.page then when you click the button to go to the next page with the new interface call c.page = 1; then for the place you said you wanted to click just add an if statement or a switch statement

    if(c.page == 1) {
    do shit on page 1
    } else if (c.page == 2) {
    do shit on page 2
    }
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Oct 2012
    Posts
    210
    Thanks given
    5
    Thanks received
    10
    Rep Power
    11
    Thanks man, rep+
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Oct 2012
    Posts
    210
    Thanks given
    5
    Thanks received
    10
    Rep Power
    11
    1 quick question, what do I use to refresh a interface? like (refreshinterface) or something?
    Reply With Quote  
     

  6. #5  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    Quote Originally Posted by BLahVLah View Post
    1 quick question, what do I use to refresh a interface? like (refreshinterface) or something?
    Interfaces automatically refresh when you send another one or when one of the children (like the text), has been changed.
    Reply With Quote  
     

  7. #6  
    Registered Member
    Join Date
    Oct 2012
    Posts
    210
    Thanks given
    5
    Thanks received
    10
    Rep Power
    11
    Quote Originally Posted by TheChosenOne View Post
    Interfaces automatically refresh when you send another one or when one of the children (like the text), has been changed.
    I have a command that loads the interface, but it loads it with the original text, I have a click item that refreshes instantly but i cant apply it to the command.

    Is there a way I can force it to refresh when the command is typed?

    Reply With Quote  
     

  8. #7  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    Why can't you put it in the command?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 11
    Last Post: 03-13-2011, 10:42 AM
  2. Replies: 16
    Last Post: 05-29-2010, 09:38 PM
  3. Replies: 15
    Last Post: 09-15-2007, 06:48 PM
  4. Adding Gfz in WhiteScape And Advanced Level Interface
    By Santa Noobie in forum Tutorials
    Replies: 1
    Last Post: 05-29-2007, 10:52 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
  •