ID:164295
![]() Jun 30 2007, 8:23 am
|
|
I want to make a shutdown verb but i want to make it so that they can choose how long and if they want to interupt the shutdown at any time.. Can someone help me with that one?
|
then it isn't helping me is it.. i wanted that specific verb >.>
Monkeykid0049 wrote: > mob This is what I use but it doesnt have all the other stuff you mentioned |
Robertg0123 wrote:
then it isn't helping me is it.. i wanted that specific verb >.> Ouch. Why not say thanks for the help he attempted to offer? It should at least give you an idea. I could sit here and write code you want, but from that attitude I don't think I'll waste my time. |
Ok so I was a little harsh.. I am playing a game and people are pissing me off.. So to you and Monkeykid0049 I apologize..
|
mob Well this kind of works. The only problem is i dont know how to make it stop the shutdown. Even though it says it stops it it doesnt. That part youll have to figure out yourself. It makes it so its placed under the Admin category and to make it so only certain people can use it you would put in: mob |
Well thank you.. But can you add a custom amount of time in it. Like ()Seconds.. you can choose how long it takes to shut down... and if you can remove the cancel part if it doesn't work.. Thanks for trying :)
|
var/shutdown = 0 |
it didn't work.. ty for trying but i got a bunch of errors..
This is my error runtime error: bad client |
I GOT IT!!!!!!!! YAAY
Heres the Variables var Heres the Verb mob IT WORKS!!! YAAY |
Argh, that's somewhat horribl...
Tips for learning: - Instead of specifically looking for 1 or 0, use the boolean method which you can learn about here - After learning about boolean, you can join all those variables in to one, when you cancel something, set the value to a negative value and speficially check for it if it is cancelled. BTW, std2 is useless, you can get the same effect by doing either sleep(std*10) or std*=10 as you don't need to use std after that one simple message. |
This is what I use but it doesnt have all the other stuff you mentioned