Thursday, April 8, 2010


You know how the mIRC Scripting Language (MSL) allows you to check if a parameter equals or is similar to something? Like for:
!fight Slash Zero
"Slash" is $2 and "Zero" is $3? Well, I'm trying to do something similar with C++, except "Slash" will be param[2] and "Zero" will be param[3]. Arrays are just too fun. :3

Too bad MSL doesn't include it. <_<

Edit: Oh, and param[0] will stand for the whole string. kthxbai

No comments:

Post a Comment