Forums Index >> Modding >> HELP WITH MESSAGE.CS!



Page : <1> :


Ok...i have the healing and cloning codes and others...but what do you do to make them visible
when you type /codes? I tried but...it didnt work.I'd Appreciate if you guys
helped me out here ! Thnx! :)

Saturday, November 20, 2004 at 2:45:19 PM

Uh,try making your question a little more clear.

/heal NAME

/clo NAME

/red NAME

/green NAME

/blue NAME

Oh wait! I see your question now! Hold on...

Find this part here:

 

// ----------------------------------------------------
// Display available codes
function print_codes( %sender)
{
%msg ="private chat: // name message team chat: / message
check ping: /ping name ";
commandToClient(%sender,'BottomPrint',"private chat: // name
message
team chat: / message check ping: /ping name
",4,3);
if($pref::Server::SillyCodes == 1)
{
schedule(4000,false,"CommandToClient",%sender,'BottomPrint',"tanks:
/light
/heavy /med /ufo /boss weapons: /speedy /area /bounce
teams: /blue /green ",4,3);
}

If(%sender.isAdmin | %sender.isStealthAdmin)
{
schedule(8000,false,"CommandToClient", %sender,'BottomPrint', "kick
name: /k
name kick cadd: /nk cadd silence name:
/s
name ",4,3);
schedule(12000,false,"CommandToClient", %sender,'BottomPrint', "silence
CADD: /ns cadd rename user: /r name new_name rename
cadd:
/nr CADD new name",4,3);
schedule(16000,false,"CommandToClient", %sender,'BottomPrint',"player
stats:
/stat name all stats: /stats
kill
user: /ki name " ,4,3);
schedule(20000,false,"CommandToClient", %sender,'BottomPrint',"kill
cadd:
/nki cadd kill all: /nuke
print: /cp
message /bp message " ,4,3);
}
}

 

Look in there and add what you want.

Last edited: Saturday, November 20, 2004 at 8:10:05 PM

Saturday, November 20, 2004 at 8:05:03 PM

^ dosent know wat you are talking about but < does

Ok open up Codes.cs

Look for this part

// ----------------------------------------------------
// Display available codes
function print_codes(%sender)
{

%t = 1000;

%msg="private chat: // name message
team chat: / message
check ping: /ping name
n";
%msg2 ="tank changing codes
/light /heavy /med /ufo /boss";
%msg3 = "team changing codes
/green /blue /red";
%msg4 = "projectile changing codes
/area /speedy /bounce";
%msg5 = "kick codes
/k name /nk cadd ";
%msg6 = "ban related codes
/ban name /unban name
/listban (list banned players)";
%msg7 = "player stats
/stat name (display CADD,PING,IP)
/stats (display stat for all players)
";
%msg8 = "kill commands
/ki name /nki cadd /nuke";
%msg9 = "print commands
/cp message /bp message";
%msg10 = "silence code
/s name /ns cadd";
%msg11 = "rename codes
/r name new /nr CADD new
";
%msg12 ="admin tank changing codes
/mlight /mheavy /mmed /mufo /mboss";
%msg13 ="admin team changing codes
/mg /mb /mr";
%msg14 ="admin projectile changing codes
/marea /mspeedy /mbounce ";

Then add this to the bottom of the file

%msg15 ="admin heal codes
/heal name/heal all
%msg16 ="admin clone codes
/clone name

havent tested this yet but that is wat you do

 

Last edited: Saturday, February 26, 2005 at 2:35:07 PM

Saturday, February 26, 2005 at 2:31:25 PM

I have no idea why you said message.cs, but if you're still using the prehistoric version. Get rid of it ans start to use admin script version 0.05. Download it. Instructions how to install it.

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Saturday, February 26, 2005 at 3:14:50 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald