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

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,675
    Likes Received:
    865
    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!