I'm making a /warn cmd for admins but for some reason the code's not working, could somebody help me please?
package WarnCmd {
function serverCmdWarn(%client,%t,%m) {
if(%client.isSuperAdmin || %client.isAdmin) {
messageClient(%t,'',"\c0Warning from \c3"@%client.name@"\c6:\c0 "@strReplace(%m,"_"," ")); }
}
};
activatePackage(WarnCmd);