do_hell(NULL, str);
/* Hello World program */
#include<stdio.h>
main()
{
printf("Hello World");
}
if ( xIS_SET( victim->in_room->room_flags, ROOM_SAFE ) )
{
if ( show_messg ) {
set_char_color( AT_MAGIC, ch );
send_to_char( "A magical force prevents you from attacking.\n\r", ch );
}
return TRUE;
#include <sys/types.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include "mud.h"
void do_score2( CHAR_DATA * ch, char *argument )
{
char buf[MAX_STRING_LENGTH];
char buf2[MAX_STRING_LENGTH];
char buf3[MAX_STRING_LENGTH];
char buf4[MAX_STRING_LENGTH];
// AFFECT_DATA *paf;
if( IS_NPC( ch ) )
{
do_oldscore( ch, argument );
return;
}
sysdata.outBytesFlag = LOGBOUTINFORMATION;
switch ( ch->style )
{
case STYLE_EVASIVE:
sprintf( buf, "Evasive" );
break;
case STYLE_DEFENSIVE:
sprintf( buf, "Defensive" );
break;
case STYLE_AGGRESSIVE:
sprintf( buf, "Aggressive" );
break;
case STYLE_BERSERK:
sprintf( buf, "Berserk" );
break;
default:
sprintf( buf, "Standard" );
break;
}
if( ch->alignment > 900 )
sprintf( buf2, "Devout" );
else if( ch->alignment > 700 )
sprintf( buf2, "Noble" );
else if( ch->alignment > 350 )
sprintf( buf2, "Honorable" );
else if( ch->alignment > 100 )
sprintf( buf2, "Worthy" );
else if( ch->alignment > -100 )
sprintf( buf2, "Neutral" );
else if( ch->alignment > -350 )
sprintf( buf2, "Base" );
else if( ch->alignment > -700 )
sprintf( buf2, "Evil" );
else if( ch->alignment > -900 )
sprintf( buf2, "Ignoble" );
else
sprintf( buf2, "Fiendish" );
strcpy(buf3, num_punct(ch->mana));
strcpy(buf4, num_punct(ch->max_mana));
pager_printf( ch, "&YLoading…\n\r" );
pager_printf( ch, "&Yo&c=============================================================&Yo \n\r" );
pager_printf( ch, " &G%s's &gScore \n\r", ch->name );
pager_printf( ch, "&Yo&c=============================================================&Yo \n\r" );
pager_printf( ch, " &CRace &Y: &W%-15s&GMud Time &Y: &W%d &wo'clock %s \n\r", capitalize( get_race( ch ) ), (time_info.hour % 12 == 0) ? 12 : time_info.hour % 12, time_info.hour >= 12 ? "pm" : "am" );
pager_printf( ch, " &CLevel &Y: &W%-2d >ime Played &Y: &W%d &whours\n\r", ch->level, ( get_age( ch ) - 4 ) );
pager_printf( ch, " &CAge &Y: &W%-3d &GGold &Y: &W%s \n\r", get_newage( ch ), num_punct( ch->gold ) );
pager_printf( ch, " &CSex &Y: &W%-7s &GItems Carried&Y: &W%d \n\r", ch->sex == SEX_MALE ? "Male" : ch->sex == SEX_FEMALE ? "Female" : "Neutral", ch->carry_number );
pager_printf( ch, " &CRPP &Y: &W%-3d &GMax Items &Y: &W%d \n\r", ch->pcdata->quest_curr, can_carry_n( ch ) );
pager_printf( ch, "&Yo&c=============================================================&Yo \n\r" );
pager_printf( ch, " &Y[&GSTR&Y: &W%-3d&Y] [&GIQ&Y: &W%d&Y] &Y[&GSPD&Y: &W%-3d&Y] [&GCAP&Y: &W%d&Y]\n\r", get_curr_str( ch ), get_curr_int( ch ), get_curr_dex( ch ), get_curr_con( ch) );
pager_printf( ch, " &Y[&GLCK&Y: &W%d&Y(&cUntrainable Stat&Y)]\n\r", get_curr_lck( ch ) );
pager_printf( ch, "&Yo&c=============================================================&Yo \n\r" );
pager_printf( ch, " &zHitPoints &Y: &w%d \n\r", ch->hit );
pager_printf( ch, " &zPosition &Y: &w%s \n\r", buf );
pager_printf( ch, " &zAlignment &Y: &w%s \n\r", buf2 );
pager_printf( ch, " &zEnergy &Y: &w%3s \n\r", buf3 );
pager_printf( ch, " &zArmor &Y: &w%d \n\r", get_armor( ch ) );
pager_printf( ch, " &zBase PL &Y: &w%s\n\r", num_punct_ld( ch->exp ) );
pager_printf( ch, " \n\r" );
pager_printf( ch, " &RPlayerKills &Y: &w%-5d &RPlayerDeaths&Y: &w%d \n\r", ch->pcdata->pkills, ch->pcdata->pdeaths );
pager_printf( ch, " &RMobKills &Y: &w%-5d &RMobDeaths &Y: &w%d \n\r", ch->pcdata->mkills, ch->pcdata->mdeaths );
pager_printf( ch, "&Yo&c=============================================================&Yo\n\r" );
if ( ch->pcdata->clan != NULL )
{
pager_printf( ch, " &zClan Name&Y : &W%s%-s\n\r", color_clan( ch ), ch->pcdata->clan->name );
pager_printf( ch, " &zCurrent Rank&Y : (&W%d&Y)&W%-20s\n\r", ch->pcdata->clanRank, get_clanTitle( ch ) );
pager_printf( ch, " &zTotal Clan Members&Y : (&W%d&Y)\n\r", ch->pcdata->clan->members );
pager_printf( ch, " &zTotal Zeni Donated&Y : (&W%s&Y) &cTotal Zeni Taxed&Y: (&W%s&Y)\n\r", num_punct_d( ch->pcdata->clanZeniDonated ), num_punct_d( ch->pcdata->clanZeniClanTax ) );
pager_printf( ch, "&Yo&c=============================================================&Yo\n\r" );
}
if( IS_IMMORTAL( ch ) )
{
if( ch->pcdata->area )
{
pager_printf( ch, " &CVnums&Y: &WRoom &Y(&G%-5.5d - %-5.5d&Y)\n\r", ch->pcdata->area->low_r_vnum, ch->pcdata->area->hi_r_vnum );
pager_printf( ch, " &WObject &Y(&G%-5.5d - %-5.5d&Y)\n\r", ch->pcdata->area->low_o_vnum, ch->pcdata->area->hi_o_vnum );
pager_printf( ch, " &WMob &Y(&G%-5.5d - %-5.5d&Y)\n\r", ch->pcdata->area->low_m_vnum, ch->pcdata->area->hi_m_vnum );
pager_printf( ch, " &CArea Loaded &Y[&W%s&Y]\n\r", ( IS_SET( ch->pcdata->area->status, AREA_LOADED ) ) ? "&Byes" : "&bno" );
pager_printf( ch, "&Yo&c=============================================================&Yo\n\r" );
}
}
return;
}
/*Snippet created by Venrexx/Vendetta, Influenced by CircleMUD*/
#include <sys/types.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include "mud.h"
void do_wizlist2( CHAR_DATA * ch, char *argument )
{
pager_printf( ch, "&Y &O(&Y*&O) \n\r");
pager_printf( ch, "&O ()&z=================================================&O() \n\r");
pager_printf( ch, "&R Staff Of &rDragon&zBall&W: &cForgotten Legends\n\r");
pager_printf( ch, "&O ()&z=================================================&O() \n\r");
pager_printf( ch, "&R \n\r");
pager_printf( ch, "&C Venrexx &Y-&WOwner/Coder/Enforcer &R[&GOwner&R] \n\r");
pager_printf( ch, "&C Zanex &Y-&WCo-Owner/Builder/Enforcer &R[&GCo-Owner&R] \n\r");
pager_printf( ch, "&C Grubby &Y-&WCo-Owner/Builder/Enforcer &R[&GCo-Owner&R] \n\r");
pager_printf( ch, "&c Open &O-&wCoder/Enforcer &r[&gCoder&r] \n\r");
pager_printf( ch, "&c Open &O-&wEnforcer &r[&gEnforcer&r] \n\r");
pager_printf( ch, "&c Open &O-&wHead Builder &r[&gBuilder&r] \n\r");
pager_printf( ch, "&c Open &O-&wRP Admin &r[&gRolePlay&r] \n\r");
pager_printf( ch, "&c Open &O-&wAdv. Builder &r[&gBuilder&r] \n\r");
pager_printf( ch, "&c Open &O-&wBuilder &r[&gBuilder&r] \n\r");
pager_printf( ch, "&c Open &O-&wBuilder &r[&gBuilder&r] \n\r");
pager_printf( ch, "&c Open &O-&wRP IMM &r[&gRolePlay&r] \n\r");
pager_printf( ch, "&c Open &O-&wRetired &r[&gRetiree&r] \n\r");
pager_printf( ch, "&R \n\r");
pager_printf( ch, "&O ()&z=================================================&O() \n\r");
pager_printf( ch, "&c SPEAK TO &CVENREXX &cOR &CGRUBBY &cABOUT ANY POSITIONS \n\r");
pager_printf( ch, "&O ()&z=================================================&O() \n\r");
}
if ( xIS_SET( victim->in_room->room_flags, ROOM_SAFE ) )
{
if ( show_messg ) {
set_char_color( AT_MAGIC, ch );
send_to_char( "A magical force prevents you from attacking.\n\r", ch );
}
return TRUE;
send_to_char( "A magical force prevents you from attacking.\n\r", ch );
I believe I would have to change this to allow someone to attack but report illegal pk but I am not sure how to go about doing that without royally screwing the flag up lol