Solution to welcome messages?

Author Topic: Solution to welcome messages?  (Read 2659 times)

Thx Kirby, but what would I change in the code to change what they type to see these messages?

I thought the max length of a string being sent to a client was 255. Maybe I got it wrong or something.

Codez for j00.

Quote
function serverCmdServerInfo(%client)
{
   %info1 = "\c1This is my server :)";
   %info2 = "\c2Make sure you followe these rules: [put them in lul]";
   %admininfo = "\c3Also, admins, please try not to abuse power like I do.";
   
   messageClient(%client,'', %info1);
   messageClient(%client,'', %info2);
   if (%client.isAdmin || %client.isSuperAdmin)
   {
      messageClient(%client, %admininfo);
   }
}
Follow the pattern for more lines, make sure you keep the quotes and all the other symbols.
Change red text to what you want the player to type after "/".  Don't have any spaces...
« Last Edit: January 10, 2008, 05:55:18 PM by laremere »

Tip: The code tag prevents any tags inside of it from working.

Woops, didn't check the post, fixed...

yeah that would be pretty cool huh