Browsing Wiremod's section
← Back to ACE
🔁

Mirrored article

This page is synced automatically from the wiremod/wire GitHub wiki (last synced 1 hour ago). Edits made here will be overwritten on the next sync — contribute on the source wiki instead.

e2 docs chat

📁 PlayersUpdated 1 hour ago•0 views
Chat runOnChat( Activate) DEPRECATED. Use 'event chat(Player:entity, Message:string, Team:number)' instead! If set to 0, the chip will no longer run on chat events, otherwise it makes this chip execut

Jump to table of contents

Chat
runOnChat( Activate)
DEPRECATED. Use 'event chat(Player:entity, Message:string, Team:number)' instead! If set to 0, the chip will no longer run on chat events, otherwise it makes this chip execute when someone chats. Only needs to be called once, not in every execution (3 ops)

= chatClk()
DEPRECATED. Use 'event chat(Player:entity, Message:string, Team:number)' instead! Returns 1 if the chip is being executed because of a chat event. Returns 0 otherwise (3 ops)

= chatClk( Ply)
DEPRECATED. Use 'event chat(Player:entity, Message:string, Team:number)' instead! Returns 1 if the chip is being executed because of a chat event by player E. Returns 0 otherwise (3 ops)

hideChat( Hide)
Hides the chat messages written by E2 owner (3 ops)

modifyChat( New)
Changes the chat message, if the chat message was written by the E2 owner (3 ops)

= lastSpoke()
DEPRECATED. Use 'event chat(Player:entity, Message:string, Team:number)' instead! Returns the last player to speak (3 ops)

= lastSaid()
DEPRECATED. Use 'event chat(Player:entity, Message:string, Team:number)' instead! Returns the last message in the chat log (3 ops)

= lastSaidWhen()
Returns the time the last message was sent (3 ops)

= lastSaidTeam()
DEPRECATED. Use 'event chat(Player:entity, Message:string, Team:number)' instead! Returns 1 if the last message was sent in the team chat, 0 otherwise (3 ops)

= :lastSaid()
DEPRECATED. Use 'event chat(Player:entity, Message:string, Team:number)' instead! Returns what the player E last said (3 ops)

= :lastSaidWhen()
Returns when the given player last said something (3 ops)

= :lastSaidTeam()
DEPRECATED. Use 'event chat(Player:entity, Message:string, Team:number)' instead! Returns 1 if the last message was sent in the team chat, 0 otherwise (3 ops)

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.