mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2003
Posts: 3
Rynch Offline OP
Self-satisified door
OP Offline
Self-satisified door
Joined: Apr 2003
Posts: 3

confused Whats Wrong?
Sound Themes
.Irenicus: {
If ( %themename == ) { halt }
Else { /splay %snd_change }
/set %act01 $mircdirRynch\Themes\Irenicus\act01.mp3
/set %act02 $mircdirRynch\Themes\Irenicus\act02.mp3
/set %act03 $mircdirRynch\Themes\Irenicus\act03.mp3
/set %act04 $mircdirRynch\Themes\Irenicus\act04.mp3
/set %act05 $mircdirRynch\Themes\Irenicus\act05.mp3
/set %act06 $mircdirRynch\Themes\Irenicus\act06.mp3
/set %act07 $mircdirRynch\Themes\Irenicus\act07.mp3
/set %act08 $mircdirRynch\Themes\Irenicus\act08.mp3
/set %act09 $mircdirRynch\Themes\Irenicus\act09.mp3
/set %act10 $mircdirRynch\Themes\Irenicus\act10.mp3
/set %snd_load $mircdirRynch\Themes\Irenicus\load.mp3
/set %snd_part $mircdirRynch\Themes\Irenicus\part.mp3
/set %snd_away $mircdirRynch\Themes\Irenicus\away.mp3
/set %snd_baway $mircdirRynch\Themes\Irenicus\baway.mp3
/set %snd_bkdf $mircdirRynch\Themes\Irenicus\bkdf.mp3
/set %snd_bkdn $mircdirRynch\Themes\Irenicus\bkdn.mp3
/set %snd_snick $mircdirRynch\Themes\Irenicus\snick.mp3
/set %snd_change $mircdirRynch\Themes\Irenicus\change.mp3
/set %snd_ignore $mircdirRynch\Themes\Irenicus\ignore.mp3
/set %snd_unignore $mircdirRynch\Themes\Irenicus\unignore.mp3
/set %snd_kickban $mircdirRynch\Themes\Irenicus\kickban.mp3
/set %snd_bankicked $mircdirRynch\Themes\Irenicus\bankicked.mp3
/set %themename Irenicus
/set %act01name Well you are a strong one indeed
/set %act02name You will suffer! you will ALL suffer!
/set %act03name Life...is strenght
/set %act04name Walk among them these beast that are less than you are
/set %act05name You walk as a mortal, taking no advantage from your heritage, from your talents within. So many things of flesh are greater than you
/set %act06name Must i be Interupted at every turn!?
/set %act07name I will end your petty little lifes
/set %act08name Why do you stand for this? Why do you Submit to the flesh when death is bred in your bones?
/set %act09name When the world of flesh is beneath you, even creatures mysterious and magical will fall
/set %act10name You will do what you must, BECOME what you must or others will pay for your cowardice
/set %StartTheme 0,0\4,4iiiiiiiiiiiiii0Theme:4iiii0Irenicus4iiiiiiiiiiii4,4H0,0\5,5\\
}

It gives an If error: /if: invalid format (line 50, popups.ini)
What's wrong?
And about Dialogs... Is there an easy way to make them? I cant write position for everything in notepad so i wonder if there is any program that can you can put commandbuttons and such and it writes the code..
I really appreciate if someone would help me!
Thanks!

Joined: Dec 2002
Posts: 174
P
Vogon poet
Offline
Vogon poet
P
Joined: Dec 2002
Posts: 174
If ( %themename == ) { halt }

you didnt finish that,

if (%themename == vauleofvariable) { halt }

it has to equal something try that


also you dont need the /set

just set.

Last edited by PHMinistries; 13/04/03 06:41 PM.
Joined: Apr 2003
Posts: 3
Rynch Offline OP
Self-satisified door
OP Offline
Self-satisified door
Joined: Apr 2003
Posts: 3
but it shall be: if the variables string is nothing then do nothing
else...

Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
change this statement
If ( %themename == ) { halt } to If (!%themename) { halt }
then remove the /set
in front of all the /set's then the script should work fine




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
I'd create a $snd identifier and call it instead of creating those variables and using 'em
alias snd {
if ( $isid ) {
return $mircdirRynch\Themes\Irenicus\ $+ $1 $+ .mp3
}
}

get dialog studio, from mircscripts.org or google


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Apr 2003
Posts: 18
N
Pikka bird
Offline
Pikka bird
N
Joined: Apr 2003
Posts: 18
you could also do:
Code:
  if (%themename == $null) ...




Link Copied to Clipboard