Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to cause error in a function intentionally??

Asked by 2 years ago

How to cause error in a function from outside the function while its running??

Any help would be appreciated. Thanks In Advance!!

1 answer

Log in to vote
0
Answered by
extrorobo 104
2 years ago

I made errors on my code intentionally, I changed function C and D

function C() priadwnt("Wolf C is not fenced") pridwant("Wolf C is enclosed with Wolf D") Tedwadxt = "Wolf C is not fenced" .. "Wolf C is enclosed with Wolf D" print("WHAT?1") end

function D() prwadint("Wolf D is not fenced") prwadint("Wolf D is enclosed with Wolf C") Texdwt = "Wolf D is not fenced" .. "Wolf D is enclosed with Wolf C" print("WHAT?2") end

this is just my example, by changing function c and d

Ad

Answer this question