Hey! I'm entirely new to coding and I could use some help on the following. Suppose on a 'gain' action the mud would be triggered to send 2 messages.
In the code this looks like:
sprintf(buf,"%s has just levelled to Hero.", good_name(ch));
to_channel(buf, CHANNEL_INFO, "INFO", 1);
to_channel("The Town Crier shouts 'Congratulations! A free restore is bestowed on this joyous occasion!'\n\r",CHANNEL_SHOUT,"",1);
On the mud this is seen as:
<99/99hp 805/805m 169/169mv>
INFO: Player A has just levelled to Hero.
The Town Crier shouts 'Congratulations! A free restore is bestowed on this joyous occasion!
I'd like it to be outputted as:
<99/99hp 805/805m 169/169mv>
INFO: Player A has just levelled to Hero.
<99/99hp 805/805m 169/169mv>
The Town Crier shouts 'Congratulations! A free restore is bestowed on this joyous occasion!
Any help would be very much appreciated. Thanx in advance!
In the code this looks like:
sprintf(buf,"%s has just levelled to Hero.", good_name(ch));
to_channel(buf, CHANNEL_INFO, "INFO", 1);
to_channel("The Town Crier shouts 'Congratulations! A free restore is bestowed on this joyous occasion!'\n\r",CHANNEL_SHOUT,"",1);
On the mud this is seen as:
<99/99hp 805/805m 169/169mv>
INFO: Player A has just levelled to Hero.
The Town Crier shouts 'Congratulations! A free restore is bestowed on this joyous occasion!
I'd like it to be outputted as:
<99/99hp 805/805m 169/169mv>
INFO: Player A has just levelled to Hero.
<99/99hp 805/805m 169/169mv>
The Town Crier shouts 'Congratulations! A free restore is bestowed on this joyous occasion!
Any help would be very much appreciated. Thanx in advance!