The way you have it coded, x is being treated as a String.
What you're looking for is treating x as a variable. Also, I'm not sure what the data type of param 0x4 is but I assume it is an INT16 or INT32 - it certainly must be for this to work.
I'm not sure what the 1000 is for but that looks like a syntax issue to me.
`
var IPaddress = params.getValue(0x1,0);
var x = params.getValue(0x4,0);
rosstalk.sendMessage(IPaddress, 7788, 'LOADSET LaLiga');
//1000 - Don't know what this is for
nk.doSwitch(144 + x, 4, 1);
nk.doSwitch(145 + x, 1, 1);
nk.doSwitch(146 + x, 5, 1);
nk.doSwitch(147 + x, 10, 1);
nk.doSwitch(148 + x, 44, 1);
nk.doSwitch(149 + x, 46, 1);
nk.doSwitch(150 + x, 76, 1);
nk.doSwitch(151 + x, 77, 1);
nk.doSwitch(152 + x, 68, 1);
nk.doSwitch(153 + x, 69, 1);
nk.doSwitch(154 + x, 19, 1);
nk.doSwitch(155 + x, 20, 1);
nk.doSwitch(156 + x, 21, 1);
nk.doSwitch(157 + x, 22, 1);
nk.doSwitch(158 + x, 74, 1);
nk.doSwitch(159 + x, 75, 1);
nk.doSwitch(160 + x, 11, 1);
nk.doSwitch(161 + x, 12, 1);
nk.doSwitch(162 + x, 13, 1);
nk.doSwitch(163 + x, 14, 1);
nk.doSwitch(164 + x, 15, 1);
nk.doSwitch(165 + x, 16, 1);
nk.doSwitch(166 + x, 17, 1);
nk.doSwitch(167 + x, 18, 1);
`
#DashBoard