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. Greetings Guest, Having Login Issues? Check this thread!
    Dismiss Notice
  4. Hail Guest!,
    Please take a moment to read this post reminding you all of the importance of Account Security.
    Dismiss Notice
  5. Author Wes Locher has teamed up with Stratics for a giveaway of his new book Braving Britannia. This book explores the history and impact of Ultima Online and includes interviews from current and past dev team members as well as many UO and Stratics community members. Click here for more details!
    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:
    50
    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:
    6,463
    Likes Received:
    1,066
    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:
    50
    Awesome! Then it works exactly as I intended. :) thanks!