Forum

> > Stranded II > Mods > Conditions with letters
Forums overviewStranded II overview Mods overviewLog in to reply

English Conditions with letters

No replies
To the start Previous 1 Next To the start

old Conditions with letters

Stranded_Guy2910
User Off Offline

Quote
And I have this script:
1
2
3
4
5
6
7
8
9
10
11
on:use {
	$spell=inputwin("Write your spell",1,"Cancel","Cast the Spell");
	if ($spell=="spell name") {
				   addstate "unit",1,17;
				   msg "Imortal spell casted",4;
				   play "magic.wav";
	}else{
	msg "What you wrote isn't a spell",3;
	speech "negative";
	}
}

The big problem is: The script only works when the spell name is a number, can someone help me with this script?
edited 3×, last 27.02.12 09:53:49 pm
To the start Previous 1 Next To the start
Log in to reply Mods overviewStranded II overviewForums overview