• Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Bablosoft

Please help me with the functions.

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 822 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    helppls
    wrote on last edited by helppls
    #1

    How can I make it so that after calling a function, the function is executed and then returns back to main? I've tried everything, but the function simply stops the entire script after completing.
    I have more code in my code after calling the function. It works like this for me: the code is executed in main, then it sees the function, starts executing the function, and all the code stops executing after the function is completed.

    C 1 Reply Last reply
    0
  • H Offline
    H Offline
    helppls
    wrote on last edited by
    #2
    This post is deleted!
    1 Reply Last reply
    0
  • C Offline
    C Offline
    clarabellerising
    replied to helppls on last edited by
    #3

    @helppls use "return" statement?

    H 2 Replies Last reply
    0
  • H Offline
    H Offline
    helppls
    replied to clarabellerising on last edited by helppls
    #4

    @clarabellerising no, I've been programming a lot, and I immediately thought of this. I've also tried calling an asynchronous function and waiting for the result, but for some reason, after the function completes, the entire program stops working.

    1 Reply Last reply
    0
  • H Offline
    H Offline
    helppls
    replied to clarabellerising on last edited by helppls
    #5

    @clarabellerising God, I should have just recreated the function with the return value, and then return really starts working.)
    and when you create a function without a return value, and you do the return yourself, it doesn't return anything, but maybe I'm just clumsy

    P.S. for some reason it only works with a simple function, but when I insert my own function, it stops working again

    C 1 Reply Last reply
    0
  • C Offline
    C Offline
    clarabellerising
    replied to helppls on last edited by
    #6

    @helppls wrap up it with try catch, maybe error is in the script logic

    H 1 Reply Last reply
    1
  • H Offline
    H Offline
    helppls
    replied to clarabellerising on last edited by
    #7

    @clarabellerising thank you so much, it's just the wrong line, I'll find out why)

    1 Reply Last reply
    πŸ‘Œ
    0

  • B

    Help tiktok creator

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    533 Views
    No one has replied
  • B

    need help t

    Scheduled Pinned Locked Moved Support
    -1 Votes
    1 Posts
    432 Views
    No one has replied
  • B

    help to create a bot

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    429 Views
    No one has replied
  • A

    What is the solution? anyone help me

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    480 Views
    No one has replied
  • S

    How to sum value of two variables plz help

    Scheduled Pinned Locked Moved Support
    1 Votes
    1 Posts
    504 Views
    No one has replied
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
  • Login

  • Don't have an account? Register

  • Login or register to search.