ok here r the instruction for popup msg in lavaliar/rwscript wml

///////1////////add this code in index.php

else if($action=="viewbud")
{
  addonline(getuid_sid($sid),"Viewing buddy","index.php?action=viewbud&amp;who=$who");
echo "<card id=\"main\" title=\"buddylist\">"; 
    
  echo "<p>";

$sql = "SELECT a.lastact, a.name, a.id, b.uid, b.tid, b.reqdt FROM ibwf_users a INNER JOIN ibwf_buddies b ON (a.id = b.uid) OR (a.id=b.tid) WHERE (b.uid='".$uid."' OR b.tid='".$uid."') AND b.agreed='1' AND a.id!='".$uid."'";

$items = mysql_query($sql);

    while ($item = mysql_fetch_array($items))
    {
        
          if(isonline($item[2]))
  {
    $iml = "<img src=\"images/onl.gif\" alt=\"+\"/>";
    
    $plc = mysql_fetch_array(mysql_query("SELECT place FROM ibwf_online WHERE userid='".$item[2]."'"));
    $uact .= $plc[0];
  }else{
    $iml = "<img src=\"images/ofl.gif\" alt=\"-\"/>";
    $uact = "Last Active: ";
    $ladt = date("d m y-H:i:s", $item[0]);
    $uact .= $ladt;
  }
}


$whonick = getnick_uid($who);
 if(arebuds($uid, $who)==true) 
{
echo "<a href=\"index.php?action=viewuser&amp;sid=$sid&amp;who=$who\">$whonick</a><br/>";
echo "($uact)<br/>";
echo "pop-up message:<br/>";
echo "<input type=\"text\" name=\"msg\" maxlength=\"150\"/>";
echo "<anchor>Send<go href=\"popup.php?action=send&amp;sid=$sid\" method=\"post\">";

echo "<postfield name=\"who\" value=\"$who\"/>";
echo "<postfield name=\"msg\" value=\"$(msg)\"/>";

echo "</go></anchor>";

//echo "<br/><a href=\"index.php?action=sendpm&amp;who=$who&amp;sid=$sid\">+ send message</a>";
echo "<br/><a href=\"inbox.php?action=sendpm&amp;who=$who&amp;sid=$sid\">+ send message</a>";
echo "<br/><a href=\"genproc.php?action=bud&amp;who=$who&amp;sid=$sid&amp;todo=del\">- remove from buddylist</a>";
}else{
echo "$whonick is not a buddy";

}


  echo "<br/><a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
  echo "</p>";
  echo "</card>";

}
 
//////////2/////////add this code

include("pops.php"); before

$fmsg    in index.php

and
after this code

echo "<p align=\"center\">"; 

of  in your index.php/forums.php

($action=="cpanel")

($action=="viewcat")

($action=="viewtpc")

($action=="viewfrm") 
 n where ever u want to see the popup just add this code 

include("pops.php"); 
after this code

echo "<p align=\"center\">"; 


////////3///////in  lists.php find this line

$lnk = "<a href=\"index.php?action=viewuser&amp;who=$item[2]&amp;sid=$sid\">$iml$item[1]</a>";

and replace  it with

$lnk = "<a href=\"index.php?action=viewbud&amp;who=$item[2]&amp;sid=$sid\">$iml$item[1]</a>";

///////4///////upload the pops.php   and  popup.php in your ftp
 
///////5//////add the ibwf_pops  SQL  table  


then check the popup msg working     :)

////////6/////////email me if u have something new edition of scripts 
galleryNC@gmail.com