nakedmud-mod/
nakedmud-mod/html/tutorials/
nakedmud-mod/html/tutorials/building_extras/
nakedmud-mod/html/tutorials/c/
nakedmud-mod/html/tutorials/reference/
nakedmud-mod/html/tutorials/scripting/
nakedmud-mod/html/tutorials/scripting_extras/
nakedmud-mod/lib/
nakedmud-mod/lib/help/A/
nakedmud-mod/lib/help/B/
nakedmud-mod/lib/help/C/
nakedmud-mod/lib/help/D/
nakedmud-mod/lib/help/G/
nakedmud-mod/lib/help/H/
nakedmud-mod/lib/help/J/
nakedmud-mod/lib/help/L/
nakedmud-mod/lib/help/M/
nakedmud-mod/lib/help/O/
nakedmud-mod/lib/help/P/
nakedmud-mod/lib/help/R/
nakedmud-mod/lib/help/S/
nakedmud-mod/lib/help/W/
nakedmud-mod/lib/logs/
nakedmud-mod/lib/misc/
nakedmud-mod/lib/players/
nakedmud-mod/lib/pymodules/polc/
nakedmud-mod/lib/txt/
nakedmud-mod/lib/world/
nakedmud-mod/lib/world/zones/examples/
nakedmud-mod/lib/world/zones/examples/mproto/
nakedmud-mod/lib/world/zones/examples/oproto/
nakedmud-mod/lib/world/zones/examples/reset/
nakedmud-mod/lib/world/zones/examples/rproto/
nakedmud-mod/lib/world/zones/examples/trigger/
nakedmud-mod/lib/world/zones/limbo/
nakedmud-mod/lib/world/zones/limbo/room/
nakedmud-mod/lib/world/zones/limbo/rproto/
nakedmud-mod/src/alias/
nakedmud-mod/src/dyn_vars/
nakedmud-mod/src/editor/
nakedmud-mod/src/example_module/
nakedmud-mod/src/help2/
nakedmud-mod/src/set_val/
nakedmud-mod/src/socials/
nakedmud-mod/src/time/
name: mysty greets new players
type: enter
code:~
  # Entrance script no. 2 - greeting characters. This script is intended to
  # be attached to Mysty (mob vnum 100). When she meets someone for the
  # first time, she will greet that person and flag him/her as having been met
  
  # check to make sure that:
  #   a) this is a PC
  #   b) we've never met the person before
  if ch.is_pc and not ch.hasvar("met_mysty"):
  
    # send different message to different gendered characters
    if ch.sex == "male":
      me.act("say Well hello there, darlin'. I've never had the pleasure of " \
             "seeing your pretty face around these parts. If you need a hand, " \
             "or perhaps a drink, just ask me for help.")
    else:
      me.act("say Welcome to the Stuck Swine! I hope it's to your liking here. " \
      "If you need a hand, or perhaps a drink, just ask me for help.")
    
    # set a variable so we know we've met Mysty before
    ch.setvar("met_mysty", 1)
-