Results 1 to 2 of 2

Thread: false and nextplayer

  1. #1
    Join Date
    Jan 2007
    Posts
    268
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    false and nextplayer

    hi in my script of varrok yew cutter i have made some procedure in case it finds a mime or a scaperune..

    i made

    if(FindMime)then
    begin
    logout;
    exit;
    nextplayer(false);

    i did the same thing for my bank procedure so if it doesnt find the bank it log out and next player logs in and it works so i hope it works for that findmime stuff and for findscaperune.

    other thing is that when my player logs out(i dont know why maybe axe broken or somethin)it keeps ttrying to find gametab(4) and trying to cut the tree or trying to walk to bank or w/e depending of what procedure the player who was logged in was doing. so i did for evry procedure at the begining that=

    begin
    if(not(loggedin))then
    exit;
    nextplayer(false)
    end else
    whaterver procedure.

    the reason i put a exit is because if the current player is logged out it will skip the procedure so the next player will restart at the beggining. i didnt test that but i think it works because it works for my banking procedure.

    p.s. if u think that

    if(not(loggedin)then
    nextplayer(false);

    will work u are wrong it wont work for me....
    so do u have any idea of a good way to get logged in even if the player is loged out and continue the script..?

  2. #2
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Try this one:
    SCAR Code:
    if(not(loggedin)) then
    begin //You forget this one
    nextplayer(false);
    exit;
    end else
    begin
    //Whatever procedure
    end;
    And BTW, findnormalrandoms automatically does NextPlayer(false);
    I made a new script, check it out!.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. NextPlayer
    By Viral in forum OSR Help
    Replies: 9
    Last Post: 11-12-2008, 07:47 AM
  2. Help , Random NextPlayer(false) while cutting
    By I Am Legend in forum OSR Help
    Replies: 18
    Last Post: 10-13-2008, 07:39 AM
  3. NextPlayer help
    By king vash in forum OSR Help
    Replies: 4
    Last Post: 03-28-2007, 12:54 AM
  4. Why won't NextPlayer work?
    By Bobarkinator in forum OSR Help
    Replies: 5
    Last Post: 03-04-2007, 04:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •