WestCoast Posted September 9, 2006 Share Posted September 9, 2006 I Can Script A Lil Bit. I'm Trying To Make A Script Like : !Ask then Enter. then it says Yes Or No Randomly. i already made this but it doesnt work if ($1 = !Ask) { set %yesno $rand(1,2) if (%yesno = 1) { !msg $chan Yes } else { !msg $chan No } } Ther Is Some Thing Wrong In Here But I Dont Know Can Someone Help Me ? Link to comment
Harry Posted September 9, 2006 Share Posted September 9, 2006 Testing if a equals b: use == Setting a to b: use = End of hints.. gl learning Link to comment
lil Toady Posted September 9, 2006 Share Posted September 9, 2006 if ($1 = !ask) { var %yesno = $rand(1,2) if (%yesno == 1) /msg $chan Yes else /msg $chan No } Link to comment
Recommended Posts