mIRC Homepage
Posted By: Kameku Variables - 15/07/06 11:46 PM
I created a script, that whenever a person in #ssbrpg says "XD," it increments the overall variable, and also a personal variable. However, whenever I try to display the personal variable, it just gives the variable name, and not the actual value. The variable does exist, even, so that's not the problem.

Code:
on *:TEXT:!XDCount:#ssbrpg:/msg $chan The channel has said XD %ssbrpgXD times! $nick $+ , however, has only said it $+(%,$nick,XD) times. | /inc %ssbrpgXD 1
on *:TEXT:*XD*:#ssbrpg:/inc %ssbrpgXD 1 | /inc $+(%,$nick,XD) 1 


Any help would be appreciated.
Posted By: RusselB Re: Variables - 16/07/06 01:17 AM
Code:
 on *:TEXT:!XDCount:#ssbrpg:/msg $chan The channel has said XD %ssbrpgXD times! $nick $+ , however, has only said it $($+(%,$nick,XD),2) times. | /inc %ssbrpgXD 1
on *:TEXT:*XD*:#ssbrpg:/inc %ssbrpgXD 1 | /inc $+(%,$nick,XD) 1  
Posted By: Kameku Re: Variables - 16/07/06 09:52 AM
Thanks.
© mIRC Discussion Forums