The following warnings occurred:
Warning [2] Undefined variable $awaitingusers - Line: 33 - File: global.php(779) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(779) : eval()'d code 33 errorHandler->error
/global.php 779 eval
/showthread.php 24 require_once
Warning [2] Undefined array key "style" - Line: 837 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 837 errorHandler->error
/showthread.php 24 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 4950 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 4950 errorHandler->error
/global.php 837 build_theme_select
/showthread.php 24 require_once
Warning [2] Undefined variable $visibleonly - Line: 412 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 412 errorHandler->error
Warning [2] Undefined array key 1 - Line: 1394 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1394 errorHandler->error
/inc/functions.php 1359 fetch_forum_permissions
/inc/functions.php 2862 forum_permissions
/showthread.php 616 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1394 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1394 errorHandler->error
/inc/functions.php 1359 fetch_forum_permissions
/inc/functions.php 2862 forum_permissions
/showthread.php 616 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1907 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1907 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 624 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(727) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(727) : eval()'d code 5 errorHandler->error
/showthread.php 727 eval
Warning [2] Undefined variable $postsdone - Line: 858 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 858 errorHandler->error
Warning [2] Trying to access array offset on value of type null - Line: 858 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 858 errorHandler->error
Warning [2] Undefined array key 673 - Line: 858 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 858 errorHandler->error
Warning [2] Undefined array key 683 - Line: 858 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 858 errorHandler->error
Warning [2] Undefined array key 684 - Line: 858 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 858 errorHandler->error
Warning [2] Undefined variable $lang - Line: 2 - File: showthread.php(1563) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1563) : eval()'d code 2 errorHandler->error
/showthread.php 1563 eval
/showthread.php 870 buildtree
Warning [2] Attempt to read property "by" on null - Line: 2 - File: showthread.php(1563) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1563) : eval()'d code 2 errorHandler->error
/showthread.php 1563 eval
/showthread.php 870 buildtree
Warning [2] Undefined variable $posts - Line: 2 - File: showthread.php(1563) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1563) : eval()'d code 2 errorHandler->error
/showthread.php 1563 eval
/showthread.php 870 buildtree
Warning [2] Undefined variable $lang - Line: 2 - File: showthread.php(1559) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1559) : eval()'d code 2 errorHandler->error
/showthread.php 1559 eval
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Attempt to read property "by" on null - Line: 2 - File: showthread.php(1559) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1559) : eval()'d code 2 errorHandler->error
/showthread.php 1559 eval
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Undefined variable $posts - Line: 2 - File: showthread.php(1559) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1559) : eval()'d code 2 errorHandler->error
/showthread.php 1559 eval
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Undefined array key 673 - Line: 1566 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1566 errorHandler->error
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Undefined variable $lang - Line: 2 - File: showthread.php(1563) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1563) : eval()'d code 2 errorHandler->error
/showthread.php 1563 eval
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Attempt to read property "by" on null - Line: 2 - File: showthread.php(1563) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1563) : eval()'d code 2 errorHandler->error
/showthread.php 1563 eval
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Undefined variable $lang - Line: 2 - File: showthread.php(1563) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1563) : eval()'d code 2 errorHandler->error
/showthread.php 1563 eval
/showthread.php 1568 buildtree
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Attempt to read property "by" on null - Line: 2 - File: showthread.php(1563) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1563) : eval()'d code 2 errorHandler->error
/showthread.php 1563 eval
/showthread.php 1568 buildtree
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Undefined variable $posts - Line: 2 - File: showthread.php(1563) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1563) : eval()'d code 2 errorHandler->error
/showthread.php 1563 eval
/showthread.php 1568 buildtree
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Undefined array key 684 - Line: 1566 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1566 errorHandler->error
/showthread.php 1568 buildtree
/showthread.php 1568 buildtree
/showthread.php 870 buildtree
Warning [2] Undefined array key "additionalgroups" - Line: 6846 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 6846 errorHandler->error
/inc/functions_user.php 734 is_member
/inc/functions_post.php 398 purgespammer_show
/showthread.php 871 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(466) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(466) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 466 eval
/showthread.php 871 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 641 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 641 errorHandler->error
/showthread.php 871 build_postbit
Warning [2] Undefined array key "showimages" - Line: 699 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 699 errorHandler->error
/showthread.php 871 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 704 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 704 errorHandler->error
/showthread.php 871 build_postbit
Warning [2] Undefined array key "showimages" - Line: 742 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 742 errorHandler->error
/showthread.php 871 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1491 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1491 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1518) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1518) : eval()'d code 30 errorHandler->error
/showthread.php 1518 eval
Warning [2] Undefined variable $multipage - Line: 33 - File: showthread.php(1518) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1518) : eval()'d code 33 errorHandler->error
/showthread.php 1518 eval
Warning [2] Undefined variable $multipage - Line: 65 - File: showthread.php(1518) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1518) : eval()'d code 65 errorHandler->error
/showthread.php 1518 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making Squawk Mods
#2
Here is one I just wrote using Joe's as a template.

// Second test of a squawk mod
title: Squawk Test 2
type: squawk
author: {
name: Athena Roberts
email: athena.roberts1@yahoo.com
www: http://athenaroberts.pw
}
context: ManageMode
// Note that MainMenu squawk mods only need one batch of squawks,
// but it must still be formatted as an (unkeyed) collection.

// This batch is for people complaining about or liking the gravity being high compared to their homeworld
{
when: gravity > 0.9
squawks: {
{ text: [OMG!|Wow!] Gravity [here is much higher|is much greater here] than [Mars|Luna|Ceres] where I'm from!; icon: FaceWorried}
{ text: I can't stay here. I'm too adapted to Lunar gravity; icon: FaceSad}
Looks like I need to do some exercising to get used to Earth normal gravity!
{ text: Nice feeling [solidly|firmly] attached to the ground again; icon: FaceHappy }
My brains are being pulled down to my feet!
I've fallen and I can't get up!
Who glued my feet to the ground?!?!
}
}

One problem I've noticed is with lines like "{ text: Nice feeling [solidly|firmly] attached to the ground again; icon: FaceHappy }", the squawk will print "Nice feeling [solidly|firmly] attached to the ground again" rather than something like "Nice feeling firmly attached to the ground again." I'm not sure why that is. I don't notice any differences between my syntax and the template's.
Regards,
Athena
www.athenaroberts.pw







Reply


Messages In This Thread
Making Squawk Mods - AthenaRoberts - 12-23-2017, 12:59 PM
RE: Making Squawk Mods - AthenaRoberts - 12-23-2017, 02:38 PM
RE: Making Squawk Mods - JoeStrout - 12-23-2017, 05:40 PM
RE: Making Squawk Mods - AthenaRoberts - 12-24-2017, 11:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)