IceColdFever
Member
I'm working on a very simple script for the Generic Summer Holiday and I was wondering if it's possible to put a variable skill name in the follow code:
I keep getting an error and I've resorted to not using the variable. But I thought if I could get it to work, it'd be easier for me to share the script with others (read: less lines for them to customize for their own use)
Code:
string summer_effect = "Full-Body Tan";
if(have_effect($effect[summer_effect]) > 0)
...
I keep getting an error and I've resorted to not using the variable. But I thought if I could get it to work, it'd be easier for me to share the script with others (read: less lines for them to customize for their own use)