Hello everyone,

iam pretty new to mIRC and havn't got that for in scripts with mIRC. My first question is:

Can i copy a part of a text from a other person and then "paste" it in my command?

Example:
Code:
Stranger: Your have 350 tokens.

Copy the tokens and set it as a variable.
on *:TEXT:Your have X tokens.:#:{
  ; variable X = 350 from above.
  timer 1 5 msg $chan !raffle X ; = 350
}


Is there any way todo that?

2. Question:

If that with the variable is possible can i check for variable is higher then a certian number like:

Code:
Stranger: Your have 350 tokens.

If X = >5 //insert in 
If X = <5 //dont insert and ignore the rest of script

on *:TEXT:Your have X tokens.:#:{
  ; variable X = 350 from above.
  timer 1 5 msg $chan !raffle X ; = 350
}


Thanks,
FaveN





Last edited by FaveN; 25/10/14 04:06 PM.