Can you use the /if command on a string?

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

stigmatine
a lesser mummy
a lesser mummy
Posts: 50
Joined: Wed Oct 02, 2002 2:52 pm

Can you use the /if command on a string?

Post by stigmatine » Tue Oct 08, 2002 5:27 pm

Sorry i'm extremely new to this type of programming. But let's say /shout I love baseball!: Can i make a mac using the /if command to run a certain program when is see's teh words baseball on the screen , and to run another program if it doesn't see those words int he screen just printed. So if someone says something i want or need then it will notify or make me stand up or something, and if they dont say anything i want then it will let me be. Is this possible?

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Wed Oct 09, 2002 2:35 am

Look into chat events.... you can capture shouts, tells, groupsay, etc very easily...
- Plazmic