Originally Posted By: Ahramanyu
I did some testing today, and came to this conclussion:

Code:
on *:text:!loc:#:{
  if ($readini(Locations.ini,$+(#,.,$nick),Location) >= !$null) { | halt }
  writeini -n Locations.ini $nick Location someplace
}


@westor I also tested out your suggestions, and both times, the command with on text worked. The on join tho dosn't work at all. Any idea why this could be?


When the user joins on the channel the code is writing on the locations.ini the nickname with location to 'someplace' you need to change the 'someplace' to your think there.