The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5327 - File: inc/functions.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions.php 5327 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



2DWorlds Forums
Printing Output - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13)
+--- Thread: Printing Output (/showthread.php?tid=6882)



Printing Output - Nyht - 07-14-2011

Is it possible to print Output on a specific part of a script?


RE: Printing Output - Dignity - 07-14-2011

What?


RE: Printing Output - Ashely - 07-14-2011

(07-14-2011, 05:40 AM)Nyht Wrote: Is it possible to print Output on a specific part of a script?

What do you mean? explain


RE: Printing Output - Dignity - 07-14-2011

(07-14-2011, 02:19 PM)Ashely Wrote:
(07-14-2011, 05:40 AM)Nyht Wrote: Is it possible to print Output on a specific part of a script?

What do you mean? explain

Exactly


RE: Printing Output - Duck - 07-14-2011

I'm assuming you want to print something at some point in your script

I'm pretty sure you'd just write

print()

Put a string between the brackets

i.e.

print("Hello")

print(PreSpecifiedString)-- Earlier you could write PreSpecifiedString = Player.Name or something

print("Hello "..PreSpecifiedString) -- This will add prespecifiedstring to the end of the word Hello, so it might print Hello Duck if I were to join

Then again, It may be a little different in Buildism lua


RE: Printing Output - Nyht - 07-14-2011

(07-14-2011, 06:52 PM)Duck Wrote: I'm assuming you want to print something at some point in your script

I'm pretty sure you'd just write

print()

Put a string between the brackets

i.e.

print("Hello")

print(PreSpecifiedString)-- Earlier you could write PreSpecifiedString = Player.Name or something

print("Hello "..PreSpecifiedString) -- This will add prespecifiedstring to the end of the word Hello, so it might print Hello Duck if I were to join

Then again, It may be a little different in Buildism lua

I know that. And it is parenthesis, not brackets. Tongue

I also know the Output prints the errors, however, the errors do not happen unless there are certain circumstances, e.g. someone leaving a game during teleportation in Multiplayer, thus breaking the script unless there is prevention of it in the script.

If I have a
"else
return
end"
then it wont print the output. I was wondering if there was something to stop the script from breaking, however, is still able to print the output.