THIS IS WHATS IN THE TXT FILE *!*@Swift-345345.hfhd.fhsdd.net 5 *!*@Swift-B7332A99.res.nb.dhcp.sigecom.net 4 HERES THE SCRIPT on *:JOIN:#:{ if (on isin $read(service.txt,s,$chan)) { if ($address($nick,2) isin $gettok($read($chan $+ .txt,w,$address($nick,2)*),1,32)) { set %oplevel $read($chan $+ .txt,s,$address($nick,2)) if (%oplevel >= 10) { mode $chan +oa $nick $nick } elseif (%oplevel >= 5) && (%oplevel < 10) { mode $chan +o $nick } elseif (%oplevel = 4) { mode $chan +h $nick } elseif (%oplevel = 3) { mode $chan +v $nick } } } } The problem is in the 3rd line, i want it to just return the host instead of the number after, and its not working