The other day i decided to script for the first time in a while. I needed a custom identifier that could accept properties but didnt really need any arguments. The following may help show what i mean
Code:
Alias SomeIdent {
   if ($prop == SomeProp) return SomeValue
   return SomeOtherValue
}

Notice nowhere do i refference any arguments so something like this would be handy

var %Variable = $SomeIdent.SomeProp

Instead you have to call it using $SomeIdent(filler).SomeProp

Also instead of making a new post ill just add it here. How about refferences to variables. I know codematr suggested some time ago but i cant find it now and i dont think he got much response to it. example is as follows
Code:
Alias FillVar {
   $1 = "filled"
}


Code:
Alias Test {
   var %fil
   $FillVar(%fill)
   echo -a %fill
}


calling /Test would echo filled. Fillvar fills the value into the variable passed to it.

Note: in the above sample im not concerning with the mIRC format or its calling convention ill leave that up to khaled smile

Last edited by Narusegawa_Naru; 20/05/04 05:54 PM.