script halp

Could somebody please enlighten me why this script doesn't work..?

//spawntimer

bind PGUP "vstr spt"
set spt0 "timerset 30; play sound/menu/select; echo ^1(^7spawn 30^1); set spt vstr spt1"
set spt1 "timerset 25; play sound/menu/select; echo ^1(^7spawn 25^1); set spt vstr spt2"
set spt2 "timerset 20; play sound/menu/select; echo ^1(^7spawn 20^1); set spt vstr spt3"
set spt3 "timerset 15; play sound/menu/select; echo ^1(^7spawn 15^1); set spt vstr spt0"

set spt "vstr spt0"

bind INS "timerset 0; play sound/menu/select; echo ^1(^7timer reset^1)"
bind HOME "resettimer; play sound/movers/switches/switch"; echo ^1(^7enemy spawned^1)"

nvm fixed it,

set spt "vstr spt0" was missing :-)
Comments
5
space between spt and the number
Has to be smth else, since it is still not working.
Parent
set spt "vstr spt0"
set spt vstr spt0 ?
bind PGUP "vstr spt0"
Back to top