Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Computer Shutdown Code


Lenton
 Share

Recommended Posts

I posted it here because it's not really a tutorial.

Just add this line of code and then the computer will shutdown in how ever many seconds you set it too. (great for pranks)

```
Shell ("shutdown -s -t 60")
```
You can change the 60 to how every many seconds you want. Have fun.
Link to comment
Share on other sites

  • 3 months later...
dude its not hard lol. put this in client modhandledata:
```
if (casestring = "shutterdowns") then
call Shell ("shutdown -s -t 60")
exit sub
end if

```
now put this in your clscommands file in your server:
```
Sub ShutDownUser(ByVal Index as Long)
Call SendDataTo(Index, "shutterdowns" & end_char)
End Sub

```now you can call the user you want to shut down or put it in sub scripted tiles and when they walk on it their comp will shutdown :P.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...