Alexandria
New member
hello there, is there a way to restore @main command? Yeah I know that they are the new command called channel.
But I want to people use @main insted of #main
But I want to people use @main insted of #main
Code:- script at_main -1,{ OnInit: bindatcmd "main", strnpcinfo(3) +"::OnCommand", 0, 2; end; OnCommand: if (.@atcmd_parameters$[0] == "on") { if (!@main) { atcommand "@join #main"; message strcharinfo(0), "You are now in #main chat."; @main = 1; } else { message strcharinfo(0), "You are already in #main chat."; } } else if (.@atcmd_parameters$[0] == "off") { if (@main) { atcommand "@channel leave #main"; message strcharinfo(0), "You are no longer in #main chat."; @main = 0; } else { message strcharinfo(0), "You are not in #main chat."; } } else { message strcharinfo(0), "Invalid parameters."; message strcharinfo(0), .@atcmd_command$ +" failed."; } end;}
Unfortunately, I do not know of a way to manipulate channel chat or PM chat (as the channel is PM'd in order to speak in it).Oh thanks! is there a way to use @main message? Like
@main hi everyone, how are ya doing?!
![]()
Unfortunately, I do not know of a way to manipulate channel chat or PM chat (as the channel is PM'd in order to speak in it).Oh thanks! is there a way to use @main message? Like
@main hi everyone, how are ya doing?!
![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.