ON that changes based on variable - 20/10/16 09:42 PM
I have a variable in vars.ini that is:
and I'm trying to make it so that the events related to the currency change depending on that:
Just so each channel can name their currency differently
Am I going about this the wrong way?
Code:
%#channel.currency_name gem
and I'm trying to make it so that the events related to the currency change depending on that:
Just so each channel can name their currency differently
Code:
alias -l curr return $($+(%,$chan,.,currency_name),2) ; This does return gem as it should ; $(! $+ $($curr) $+ s) ; does return !gems as it should .. but the chat only reacts ; to !s .. the gem part is not included ON *:TEXT:$(! $+ $($curr) $+ s):#:{ var %topic $+($chan,.,$nick) msg # $nick has $readini(Points.ini,%topic,Points) total $curr $+ s. }
Am I going about this the wrong way?