// Evol functions. // Authors: // 4144 // Reid // Description: // Hammocks utility functions // Variables: // none function script hamTouchLeft { if (getareausers() <= 1) { .dir = 0; stopnpctimer; initnpctimer; } close; } function script hamUnTouch { if (getareausers() == 0) { .dir = 2; initnpctimer; startnpctimer; } close; } function script hamTimerLeft { stopnpctimer; if (.dir == 2) .dir = 0; end; } function script hamTouchRight { if (getareausers() <= 1) { .dir = 0; stopnpctimer; initnpctimer; } close; } function script hamTimerRight { stopnpctimer; if (.dir == 2) .dir = 0; end; }