I tried this once, you need to do the following.
1. block original MOTD call
https://forums.alliedmods.net/showpo...26&postcount=3
2. load custom content via sockets
https://forums.alliedmods.net/showthread.php?t=41913
3. dynamically modify the data, put it in a buffer no larger than 1526(?) characters, and send it to the client.
PHP Code:
else
{
new sztext[1536]
new pos = format(sztext,1535,"Invalid Argument: ^"%s^", here is a list of all commands availabile:^n^n", said)
pos += format(sztext[pos],1535-pos,"!blood [user] - Displays blood for the specified player (you if none specified)^n")
pos += format(sztext[pos],1535-pos,"!health [user] - functions the same as !blood [user]^n")
pos += format(sztext[pos],1535-pos,"!bank - opens bloobank^n")
pos += format(sztext[pos],1535-pos,"!toggleinfo - toggles the dusokat if the HUD info on events.^n")
pos += format(sztext[pos],1535-pos,"!buy (item) [amount] - Quickbuy an item from bloodbank (more info below)^n^n")
pos += format(sztext[pos],1535-pos,"Buying arguments:^n^nNotes:^n amount is only required if specified^n item's that have amounts support the words ^"max^" and ^"full^"^n^n")
pos += format(sztext[pos],1535-pos,"Quickbuy item list:^n^n")
pos += format(sztext[pos],1535-pos,"health (amount) - gives you (amount) health^n")
pos += format(sztext[pos],1535-pos,"armor (amount) - gives you (amount) armor [500 limit]^n")
pos += format(sztext[pos],1535-pos,"all weapons OR all guns - gives you all guns^n")
pos += format(sztext[pos],1535-pos,"nades - resets your nades to full^n")
pos += format(sztext[pos],1535-pos,"regen - greatly increases your regen rate^n")
pos += format(sztext[pos],1535-pos,"^n^n^n END OF FILE")
show_motd(id,sztext,"BB Help")
//client_print(x,print_chat,"[DEBUG] %d no input!",x)
return PLUGIN_HANDLED;
}
__________________