mIRC Home    About    Download    Register    News    Help

Print Thread
#153410 15/07/06 11:46 PM
Joined: Jul 2006
Posts: 3
K
Kameku Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Jul 2006
Posts: 3
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.

#153411 16/07/06 01:17 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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  

#153412 16/07/06 09:52 AM
Joined: Jul 2006
Posts: 3
K
Kameku Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Jul 2006
Posts: 3
Thanks.


Link Copied to Clipboard