Mudlet achaea snap9/5/2023 The defined capture groups start with 2). Note: Both selectCaptureGroup() and matches start with group 1 (which is the whole match. The best way is to use selectCaptureGroup( number ) to select the proper capture group and then perform your actions on it e.g. status_of_weapons echo ( notice ) send ( "put weapons in backpack" ) - the following 2 lines color the first capture - group red and the second group blue - see below for details selectCaptureGroup ( 2 ) setFgColor ( 255, 0, 0 ) selectCaptureGroup ( 3 ) setFgColor ( 0, 0, 255 ) Number_of_weapons = matches status_of_weapons = matches notice = number_of_weapons. If we have the table matches, matches is the first element, matches the n-th element. Lua tables can basically be considered multidimensional arrays and dictionaries at the same time. 6.1.5.12 continue: true or false (for music).4.8 Viewing and editing the database contents.3.2 How to delete the previous and current lines.3.1 Do stuff after all triggers/aliases/scripts are run.2.13 How to add a background for Mudlets buttons?.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |