Using the Riamus 2 example...
alias test {
;Imagining that the trigger nick is the Riamus2 and the channel is the #mIRC
;This will set a variable named %JoinRiamus2#mIRC with the value 1
set -eu60 $+(%,join,$nick,$chan) 1
;This will evaluated the inside bracked once
;The result will be %JoinRiamus2#mIRC
echo -a $eval($+(%,join,$nick,$chan),1)
,This will evaluated the inside brackets twices
;Firts will evaluated the $+(%,join,$nick,$chan) that will give the %JoinRiamus2#mIRC result
;Second will evalute the result off the firts result the %JoinRiamus2#mIRC that will give as a result 1 ( the variable value"
echo -a $eval($+(%,join,$nick,$chan),2)
}
you can put whatever number you need to put and will always evaluted the result.
Hope you have undertund and sorry about my english.