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?
|
In response to Monkeykid0049
|
|
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 |
In response to Robertg0123
|
|
as in a verb only an admin/gm could use?
|
In response to Monkeykid0049
|
|
yea
|
In response to Robertg0123
|
|
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. |
In response to Rockinawsome
|
|
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..
|
In response to Robertg0123
|
|
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 |
In response to Monkeykid0049
|
|
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 :)
|
In response to Monkeykid0049
|
|
var/shutdown = 0 |
In response to Garthor
|
|
it didn't work.. ty for trying but i got a bunch of errors..
This is my error runtime error: bad client |
In response to Robertg0123
|
|
I GOT IT!!!!!!!! YAAY
Heres the Variables var Heres the Verb mob IT WORKS!!! YAAY |
In response to Robertg0123
|
|
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