pline("It hits!") */ pline("It hits!", true) */
| 631 | /* pline("It hits!") */ |
| 632 | /* pline("It hits!", true) */ |
| 633 | staticfn int |
| 634 | nhl_pline(lua_State *L) |
| 635 | { |
| 636 | int argc = lua_gettop(L); |
| 637 | |
| 638 | if (argc == 1 || argc == 2) { |
| 639 | pline("%s", luaL_checkstring(L, 1)); |
| 640 | if (lua_toboolean(L, 2)) |
| 641 | display_nhwindow(WIN_MESSAGE, TRUE); /* --more-- */ |
| 642 | } else |
| 643 | nhl_error(L, "Wrong args"); |
| 644 | |
| 645 | return 0; |
| 646 | } |
| 647 | |
| 648 | /* verbalize("Fool!") */ |
| 649 | staticfn int |