Hello!
Several years ago I was a good programer in "mSL" but it seems that I get the amnesia flu or something... because I dont remember how to do aliases scripts.

I got this Idea that I want to recover:

Code:
alias 870 {

  inc %870
  inc %870.$1
  say takes his 870 shotgun, put inside several shells, aim against  $1 and fires..  (Shoots with his 870: %870 ,Shoots against $1: %870.$1 )

}


Ye, its awful.

now if we get a example case:
in aliases we got

%870 5
%870.pedro 5

(I dont have dat... I erease that awful aliases)

so I shoot 5 times against pedro, and now I shoot against dunno... "mIRC"

so the text must show:

RichardWinters takes his 870 shotgun, put inside several shells, aim against mIRC and fires.. (Shoots with his 870: 6 ,Shoots against mIRC: 1 )

but it doesnt works. it keep sayin

RichardWinters takes his 870 shotgun, put inside several shells, aim against mIRC and fires.. (Shoots with his 870: 6 ,Shoots against mIRC: 6 )


like if mIRC were Pedro. but mIRC is not Pedro.

So what is getting wrong? (apart my grammar)


User from irc.onlinegamesnet.net