PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: Untouchable on 04 October, 2004, 16:36:04

Title: Hub\slots question..
Post by: Untouchable on 04 October, 2004, 16:36:04
Just a quick question, when i am to decide how many slots per hub, is there a way to have the value less then 1? for example 0,5? I.E 1 slot per 2 hubs connected to?
Title:
Post by: bastya_elvtars on 04 October, 2004, 16:38:35
why not?

if slots/hubs<0.5 then

altho make stricter rules imho :P
Title:
Post by: Untouchable on 04 October, 2004, 16:51:06
tried that, but "0.5" didnt seem to work.. just counted as 0 when i tried..