Sign in to follow this  
Followers 0
andrew01

AdlibFunction

4 posts in this topic

Are you only allowed to use one adlibfunction per script or per function? For example:

Hello()
Func Hello()
Adlibenable("Start")
;lfkjhskjfhslkdjhfslkdjafslka
;sadlfhjsdlafkjslfkjsf
Adlibdisable()
Endfunc

Bye()
Func Bye()
Adlibenable("Finish")
;dsfasfsdsafas
;sadfsadfsadf
Adlibdisable()
Endfunc

Func Start()
;fsdafsdfsadfds
Endfunc

Func Finish()
;fsdafsdafa
Endfun

Can you do that?

Also, if you can use more then one adlibfunc per script, can you use more then one in one function? Like above, could I just start and finish in the Bye() func?

Share this post


Link to post
Share on other sites



Yes, you can do that. As you have done, you can have only 1 Adlib at a time and one function set, but that does not stop you from creating another instance somewhere else where you need to cover for the unexpected.

Share this post


Link to post
Share on other sites

Cool, thanks for the fast reply.

Share this post


Link to post
Share on other sites

you do need the 'c' you're missing in your last 'EndFunc'

:P:D:D:)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0