Well I have changed my methods a little. Here is the one that does work:

Code:
alias dw {
  if($1- == isalnum) {
    /msg $chan $replace($1-,about,aboot,after,efter,all,a',along,alang,alright,a'right, $&
      and,'n,are,ur,aren't,urnae,around,roon',ass,arse,ball,ba',being,bein',before,afore, $&
      belongs,belangs,between,a'tween,body,boady,but,bar,call,ca',can,kin,can not,cannae, $&
      center,centre,children,weans,cold,cauld,come on,c'moan,couldn't,couldnae,crazy, $&
      cracked,daft one,daftie,dead,deid,deaf,deef,do,dae,does,diz,doing,daein',do you, $&
      d'ye,done,doon,don't,doan't,down,doon,drunk,blootered,fellow,fella,floor,flair,foot, $&
      fit,for,fur,from,fae,get it,gerrit,girl,girrel,give,gie,god,goad,going,gaun,going to, $&
      gonnae,got,goat,had,hid,half,hauf,has,hiz,hand,haun,hang,hing,have,huv,having,huvin', $&
      haven't,havnae,head,heid,herself,hersel',himself,himsel',hold,haud,home,hame)
  }
}


But when I try to add the second half to it I get an error that says it is too long. Error is: * $&: line too long (line 105, aliases.ini)

This is the second half of it:

Code:
      I,ah,I'm,ahm,into,intae,isn't,isnae,I've,Ah've,just,jist,language,langweej,leave, $&
      lea',little,wee,lost,loast,messy,manky,more,mair,mouth,mooth,my,ma,myself,masel', $&
      no,nae,none,nane,not,no',now,noo,now a days,nooadays,of,'o,off,aff,on,oan,once, $&
      wance,one,wan,our,oor,out,oot,outside,ootside,over,o'er,own,ain,pissing,pishin', $&
      poor,puir,put,pit,round,roond,[censored],shite,shouldn't,shouldnae,small,wee,south,sooth, $&
      stand,staun,stop,stoap,stupid,stupit,them,thum,those,thae,thought,thaot,to,tae, $&
      toilet,cludgie,told,telt,too,tae,trousers,troosers,understand,understaun,wall,wa', $&
      was,wus,wasn't,wiznae,were,wur,what,whit,will not,willnae,with,wi',world,worreld, $&
      would,wid,wouldn't,wouldnae,wouldn'tve,widnae,you,ye,you'd,ye'd,you'll,ye'll,your, $&
      yer,you're,ye're,yourself,yersel',you've,ye've)


Note that you will need to add a , and a $& and remove the ) at the end of the first part.

The first one works, but the second one doesn't. Is there a way of doing these both at the same time?