Plugin Generated MOTD
Hey guys, just like the title states, wondering how to make a plugin create a MOTD pop up on it's own rather than having a separate file..
I've looked over some scripts and tried to put this together, some things to note in my script, it uses a for loop to print all strings in this array: Code:
The registered clcmd goes to this display(id) function: Code:
However, not working =/ |
Re: Plugin Generated MOTD
Well, you could make the plugin create the actual MOTD on its own, and not require people to download the MOTD separately.
|
Re: Plugin Generated MOTD
The idea is to have it update when the strings array is changed..
lets say that array is: Code:
when the command is typed it should display Code:
Available Sounds: |
Re: Plugin Generated MOTD
What doesn't work? Do you get anything in the MOTD?
My first thought was this: replace the first ^n with <br><br> and the second ^n with <br>. But maybe this isn't needed. |
Re: Plugin Generated MOTD
ugh.. why is it all of the sudden it works when I recompile.. lmao
|
| All times are GMT -4. The time now is 08:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.