Forum

> > Stranded II > Mods > Conditions with letters
ForenübersichtStranded II-Übersicht Mods-ÜbersichtEinloggen, um zu antworten

Englisch Conditions with letters

Keine Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Conditions with letters

Stranded_Guy2910
User Off Offline

Zitieren
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?
3× editiert, zuletzt 27.02.12 21:53:49
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Mods-ÜbersichtStranded II-ÜbersichtForenübersicht