MOTD help
Is it possible to show a user a motd and have the script wait until the user has clicked ok\close before proceding with the script?
Heres what I want to do: I have my C-D moderator plugin working and I wanted to add something so when they return to the server without C-D it will show them a motd explaining why they cant play without C-D and also provide a link to download C-D. I tried to use the kick command after the motd command but it doesn't show the motd, it only kicks. I know the motd is working because if I comment the kick command the motd shows. I need it to pause at the show_motd and as soon as it closes proceed with the kick. |
just download the say_motd plugin peoples say /motd
|
Quote:
--- You could show the MOTD window, set a task to kick after X amount of seconds.. If that's what you're talking about. |
Ya I really don't think there's a way to do this.. The most reasonable thing I can think of would be to make it show the MOTD, and then detect any movement or commands from the user (that could only occure when the MOTD is closed) at which point they would be kicked
|
client_PreThink + get_user_button + IN_CANCEL might work.
|
The MOTD has an OK button, not Cancel :P.
Or does it work the same way? |
lol, did u try it though? I assume it does, do you have a button bound to +cancel? :P
|
So try..
Code:
|
What does prethink do? jw
|
Code:
That should work. |
| All times are GMT -4. The time now is 13:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.