GMCP and CMUD

Trying to make a gmcp trigger that updates and fires a custom script every time gmcp data is processed by my client... but for some reason I can't get it to fire. I know its possible because I've seen other people have the same trigger but I can't for the life of me figure out why its not working. Can someone help me out? Its not firing off of "^gmcp.char" as the pattern.

Comments

  • DaskalosDaskalos Credit Whore Extraordinare Rolling amongst piles of credits.
    When you make a GMCP trigger, you're going to want to omit the gmcp. So, for instance, have it fire off of ^char.vitals as the pattern

    image

    image


    Message #17059 Sent By: Oleis           Received On: 1/03/2014/17:24
    "If it makes you feel better, just checking your artifact list threatens to crash my mudlet."

  • yea I tried that too... but it didn't work
  • MoireanMoirean Chairmander Portland
    Make sure the type is set to gmcp. Be aware that mudbot will eat that, however, and straight gmcp triggers won't work if you use mudbot.

    image

  • don't use mudbot... dunno even what mudbot is... I've hard about it though... and I have no idea what I'm seeing here other than the gmcp as the type
  • heres a print screen of what it looks like
    gmcp.png 266.7K
  • that still isn't firing
  • AshmerAshmer Barefoot Adventurer Life
    edited June 2014
    The table you're looking for is actually gmcp.Char.vitals, not gmcp.char.vitals. Not sure if zscript is picky about case on variable references, though.

    Also, if I'm reading that right (which I'm likely not, zscript is Greek to me), then you're curing impatience and confusion before asthma, which is probably why you're getting locked so easily by vampires and Luminaries.

    the way she tells me I'm hers and she is mine

    open hand or closed fist would be fine

    blood as rare and sweet as cherry wine

  • zscript isn't picky about capitalization
    Furtum
  • MoireanMoirean Chairmander Portland
    zscript is case sensitive for the trigger pattern.
    Furtum
  • only if the case sensitive box is checked at the bottom
  • I thought maybe it was a problem with my cmud... but I completely just erased and re-installed cmud and it didn't work either
  • ah well now I got it to fire... but it keeps turning my afflictions variable from string list to database record because of the list thing
  • Did you save it as a stringlist or autotype? Also why wouldn't a dbvar work just as well? I handle all mine with a stringlist though.
  • Also cmud is notorious for pickiness with case sensitivity, %proper was a godsend when I found it
  • saved it as a string list... and cmud isn't case sensitive mudlet is the notorious one for that. It puts list as a key and my afflictions all in one value for the key "list"
Sign In or Register to comment.