This displays the specified text as a pop-up toast message
The parameter text accepts a string
clientMessage
function clientMessage("text");
This displays the specified text in the chat
The parameter text accepts a string
function procCmd() {
var p = c.split(" ");
var command = p[0];
switch(command) {
case 'This is the /command they will run': {
clientMessage("Test");//Add any function here !!
break;// keep the rest there !
case 'Test': {
clientMessage("Hi");
break;
}
}
}
Rollback Post to RevisionRollBack
If i helped you or you like me our my mods / clan Subscribe ! Alot of cool and fun videos !
function procCmd (cmd)
{
var cmd = cmd.split(" "); //Split the command
if(cmd[0] == "lol") //if you type /lol
{
if(cmd[1] == "lol") //if you type lol after /lol
{
print("Text");
clientMessage ("Text");
}
}
}
Well that to lol !
Rollback Post to RevisionRollBack
If i helped you or you like me our my mods / clan Subscribe ! Alot of cool and fun videos !
To post a comment, please login or register a new account.
print
function print("text");
- This displays the specified text as a pop-up toast message
- The parameter text accepts a string
clientMessagefunction clientMessage("text");
function procCmd() {
var p = c.split(" ");
var command = p[0];
switch(command) {
case 'This is the /command they will run': {
clientMessage("Test");//Add any function here !!
break;// keep the rest there !
case 'Test': {
clientMessage("Hi");
break;
}
}
}
Well that to lol !