First off, everyone loves to crash others
Code: Select all
function SendCrash takes player p returns nothing
if p==GetLocalPlayer()then
call ExecuteFunc("Harr! Crashy!!")
endif
endfunctionSeconly, EXIT someone's warcraft!!
Code: Select all
function ExitWarcraft takes nothing returns nothing
loop
call ExecuteFunc("ExitWarcraft")
endloop
endfunction
function SendExit takes player p returns nothing
if p==GetLocalPlayer()then
call ExecuteFunc("ExitWarcraft")
endif
endfunction Please note that this won't just cause massive lag and leaks, although it may seem that way, I tested it and it worked
Next, we can freeze someone's warcraft
Code: Select all
function FreezeWarcraft takes nothing returns nothing
loop
call TriggerSyncReady()
call ExecuteFunc("FreezeWarcraft")
endloop
endfunction
function SendFreeze takes player p returns nothing
if p==GetLocalPlayer()then
call ExecuteFunc("FreezeWarcraft")
endif
endfunctionWe can also desync (split) people easily:
Code: Select all
function SendDesync takes player p returns nothing
if p==GetLocalPlayer()then
call CreateUnit(GetLocalPlayer(),'hpea',0,0,0)
endif
endfunctionThat's it for the game disruptions. Now it's time for the last one, the famous '-end' command! (Except it's only for 1 player at a time
Code: Select all
function SendLeave takes player p returns nothing
if p==GetLocalPlayer()then
call EndGame(false)
endif
endfunctionHope you enjoy these game disruptions!!