1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice
  3. The Broadsword team is seeking alternative castle designs! Learn more and discuss here!
    Dismiss Notice
  4. Publish 97 is currently on TC1! They are currently focusing on the pet customization aspect of the pet revamp. Head to TC1 and send in your feedback or discuss here!
    Dismiss Notice
  5. Broadsword is hosting a 20th Anniversary Party for UO this September! Learn more here. Will you be there, Guest?
    Dismiss Notice
  6. A new State of Stratics is up. Check it out here!
    Dismiss Notice

Communication Script Shorthand

Discussion in 'Pinco's UI' started by LowdownandShifty, Jun 8, 2014.

  1. LowdownandShifty

    LowdownandShifty Journeyman

    Joined:
    Nov 19, 2013
    Messages:
    177
    Likes Received:
    49
    Does anyone have a quicker way to send a message to /self (or the other chat options) instead of saying it overhead? I'm writing a script to cycle through my Organizers. Here's what I have so far:
    Code:
    script Organizer.ActiveOrganizer = (Organizer.ActiveOrganizer +1)%Organizer.Organizers+1
    script CustomSettings.SaveWString("myOrg", L"Organizer="..Organizer.Organizers_Desc[Organizer.ActiveOrganizer])
    script SendChat( ChatSettings.Channels[ SystemData.ChatLogFilters.SAY ], CustomSettings.LoadWString("myOrg") )
    Right now, it works. However, I don't want to broadcast all this to the world each time I run the script.

    *edit: fixed a typo in the code.
     
    #1 LowdownandShifty, Jun 8, 2014
    Last edited: Jun 9, 2014
  2. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,694
    Likes Received:
    869
    the overhead shows the messages ONLY to you (even if it's overhead)...

    however the self channel is something I've added so I don't think there is a quick way to do that :D
     
    LowdownandShifty likes this.
  3. LowdownandShifty

    LowdownandShifty Journeyman

    Joined:
    Nov 19, 2013
    Messages:
    177
    Likes Received:
    49
    Awesome! Then it works exactly as I intended. :) thanks!