Scripting/mIRC/Functions/Misc/AdminChat

From VC-MP Wiki

Jump to: navigation, search

This sends a message to all players in the server

Syntax

alias vcmp.say !return $dll(" $+ $scriptdirvcmp.dll", AdminChat, $1-)

Arguments

  • $1 - ServerID
  • $2- - Text

Example

This will send OMG! This is a test! when somebody types !test in game

on *:SIGNAL:vcmp.player.command:{
     if ( $3 == test ) {
          vcmp.say $1 OMG! This is a test!
     }
}

Notes

This example uses vcmp.player.command.

Related Functions

Personal tools
squirrel scripting