GMCP and CMUD

PlatoPlato Member Posts: 61 ✭✭
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.Member, Guildmaster Posts: 1,509 ✭✭✭✭✭
    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."

  • PlatoPlato Member Posts: 61 ✭✭
    yea I tried that too... but it didn't work
  • MoireanMoirean Chairmander PortlandMember, Newbie Helper, Guildmaster Posts: 5,612 ✭✭✭✭✭
    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

    The Divine voice of Razmael echoes in your head, "God of imps."
    Eugenides says to you, "Imp, Are you sure you were not born a Troll?"
    The Divine voice of Arion echoes in your head, "Every time I try to punish you for being so flippant, I find Myself laughing instead."
    Hugo has expressed his esteem of you for the following reason: Being a badass leader.
    image
  • PlatoPlato Member Posts: 61 ✭✭
    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
  • PlatoPlato Member Posts: 61 ✭✭
    heres a print screen of what it looks like
    gmcp.png 266.7K
  • PlatoPlato Member Posts: 61 ✭✭
    that still isn't firing
  • AshmerAshmer Barefoot Adventurer LifeMember Posts: 1,095 ✭✭✭✭✭
    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

  • PlatoPlato Member Posts: 61 ✭✭
    zscript isn't picky about capitalization
    Furtum
  • MoireanMoirean Chairmander PortlandMember, Newbie Helper, Guildmaster Posts: 5,612 ✭✭✭✭✭
    zscript is case sensitive for the trigger pattern.
    The Divine voice of Razmael echoes in your head, "God of imps."
    Eugenides says to you, "Imp, Are you sure you were not born a Troll?"
    The Divine voice of Arion echoes in your head, "Every time I try to punish you for being so flippant, I find Myself laughing instead."
    Hugo has expressed his esteem of you for the following reason: Being a badass leader.
    image
    Furtum
  • PlatoPlato Member Posts: 61 ✭✭
    only if the case sensitive box is checked at the bottom
  • PlatoPlato Member Posts: 61 ✭✭
    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
  • PlatoPlato Member Posts: 61 ✭✭
    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
  • FurtumFurtum Member Posts: 68 ✭✭✭
    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.
  • FurtumFurtum Member Posts: 68 ✭✭✭
    Also cmud is notorious for pickiness with case sensitivity, %proper was a godsend when I found it
  • PlatoPlato Member Posts: 61 ✭✭
    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.