Under SRL-5, you'd just call SixHourFix; in the mainloop and putat the start of every procedure...is it still done the same way under SRL-6?Code:if not LoggedIn then LoginPlayer;
Under SRL-5, you'd just call SixHourFix; in the mainloop and putat the start of every procedure...is it still done the same way under SRL-6?Code:if not LoggedIn then LoginPlayer;
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols
Simba Code:if (not isLoggedIn()) then
players[currentPlayer].login();
If your mainloop is written correctly you should only have to have "if (not isLoggedIn()) then exit;" at the beginning of every procedure and SRL will automatically restart SMART when needed.
I wouldn't recommend calling players[currentPlayer].login() in every procedure. Generally you want your player to start at the beginning after logging in.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
There are currently 1 users browsing this thread. (0 members and 1 guests)