0 Members and 3 Guests are viewing this topic.
elseif (heal == $3) { WSV.cmdlevelcheck $1- if (Hospital isin $WSV.loco($2)) { if ($WSV.money >= 500) { hdec WSV.money $WSV.name($2) 500 WSV.setcash $2 $WSV.money($3) WSV.sethealth $1 100 WSV.announce $2 You are healed by the doctors of the hospital. } else WSV.msg $2 You need at least 500 } else WSV.msg $2 You need to be Hospital.}
elseif (heal == $3) { WSV.cmdlevelcheck $1- if (Hospital isin $WSV.loco($2)) { if ($WSV.money >= 500) { hdec WSV.money $WSV.name($2) 500 WSV.setcash $2 $WSV.money($3) WSV.sethealth $2 100 WSV.announce $2 You are healed by the doctors of the hospital. } else WSV.msg $2 You need at least 500 } else WSV.msg $2 You need to be Hospital.}
elseif (aspirine == $3) { if (* $+ [ Your first location] $+ * iswm $WSV.loco($1)) || (* $+ [ Your second location ] $+ * iswm $WSV.loco($1)) { if ($WSV.money($2) >= 500) { hdec WSV.money $WSV.name($2) 500 WSV.setcash $2 $WSV.money($2) WSV.sethealth $2 100 WSV.announce $2 You are healed by the doctors of the hospital. } else WSV.msg $2 You need at least 500 } else WSV.msg $2 You need to be Hospital. }
if (* $+ [ Your first location] $+ * iswm $WSV.loco($1)) || (* $+ [ Your second location ] $+ * iswm $WSV.loco($1)) {
if (* $+ [ Schuman Health Care Center-Downtown ] $+ * iswm $WSV.loco($1))
than u have pasted it at wrong place..
elseif (getc == $3) {
paste it below this command ... Code: [Select]elseif (getc == $3) {Do i need to identify anything else..