Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

SVO Custom Prompt

ArditiArditi Member Posts: 841 @ - Epic Achaean
edited April 2013 in Tech Support
@" command for the custom prompt is not actually displaying whether or not I'm phased, even after checking DEF and unphasing/phasing again.

Should I just figure out some convoluted variable thing to display @YOU ARE PHASED, YOU CAN TOTALLY WALK INTO [email protected], or is there a way to get this command working?

Comments

  • CesarinaCesarina Member Posts: 125 ✭✭✭ - Distinguished
    edited April 2013
    We've been over thisssss

    function i_am_phased()
    if svo.defc.phase then 
    return("<red>@YOU ARE PHASED YOU CAN TOTALLY WALK INTO [email protected]") 
    else
    return("")
    end
    end
    svo.adddefinition("@phase","i_am_phased()")

    ^^^stick that in a script, then vconfig2, click view on the custom prompt thing, put @phase at the end (or wherever) and hit enter.

    edit: how do I format forums q.q
    edit2: FORGOT --> name the script the same as the function, so i_am_phased (yes I left out the () on purpose), and under the registered event handlers box put svo system loaded
    and then hit enter. THEN save script. 
    -
    (Whiners Anonymous): Alcaro says, "If I overdose on anything, though, it'll be a lack of anything."
    (Whiners Anonymous): Alcaro says, "Isn't Morimbuul that Arab that was banished to beneath Mhaldor or something."
  • DontarionDontarion Member Posts: 154 ✭✭✭ - Distinguished
    I just use function onConnect() function to set those guys instead of going through events.
    -----------------------------
    @DontarionDrakor for twitter boredom.


  • VadimusesVadimuses Member Posts: 1,132 @ - Epic Achaean
    @ tag, looks ok to me - does vshowd say you're phased when you are?
  • KyrraKyrra AustraliaMember Posts: 4,941 @@ - Legendary Achaean
    @ Works fine for custom prompts. I checked earlier. When you're phased, @ shows in the prompt but otherwise isn't there.

    Granted I made mine yellow so ^[email protected]@ but it works correctly.
    (D.M.A.): Cooper says, "Kyrra is either the most innocent person in the world, or the girl who uses the most innuendo seemingly unintentionally but really on purpose."

Sign In to Comment.