mIRC Home    About    Download    Register    News    Help

Print Thread
#16007 18/03/03 11:17 PM
Joined: Mar 2003
Posts: 34
L
Lucres Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Mar 2003
Posts: 34
I'm making a MADLIBS script, but the story won't work. Can you help? :
on *:text:!ml story 1:#: {
if ( %s1 == 0 ) { set %s1 1 | msg $chan Words needed: 1. Adjective 2. Noun 3. Noun 4. Adverb( ending in LY ) 5. Name of medicine }
if ( %s1 == 1 ) { set %s1 0 | msg $chan MADLIBS story 1: It's your Birthday! : When it is you're birthday, you should feel very %1 . If your %2 is coming, you should eat all the %3 . But don't eat it too %4 , or you may need some %5 }
}
plez help smirk


Heh..
#16008 18/03/03 11:21 PM
Joined: Mar 2003
Posts: 272
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Mar 2003
Posts: 272
Make sure %s1 returns a value, if it's not set, you'd want to do some thing like this:
Code:
if (%s1 == $null) { set %s1 1 | whatever_here }



- cF
Dedicated helper for rent.
#16009 18/03/03 11:26 PM
Joined: Mar 2003
Posts: 34
L
Lucres Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Mar 2003
Posts: 34
argh lolol
it turns out, pple were typing !ML insetad of !ml LOLOL

btw, Cold, i had it set in variables already j.i.c. TY for your help though wink


Heh..

Link Copied to Clipboard