Quote from: thijn on September 02, 2008, 09:41:36 PM
example:Code Select
var %a = $rand(1,3)
if (%a == 1) {
vcmp.msg %id You found were be teleporting to Little Havana.
vcmp.setloc %id (axis)
}
elseif (%a == 2) {
vcmp.msg %id You found were be teleporting to The Lighthouse.
vcmp.setloc %id (axis)
}
Hope u get it
okay i got this one, thankx thjn. so that $rand makes it randomly selecting either %a as 1 or %a as 2