Ghost-writer commented on a Page, Trust script  -  Oct 24, 2009

lmfao :| $iif statements, why make everything so complicated btw?

on *:TEXT:!!trust*&:*:{
  if ($($+(%,trust,$2),2)) { 
    notice $nick Trust level $+($2,::) $ifmatch 
  } 
  else { 
  notice $nick They have no trust level }
}

Could be somthing like this,

on *:TEXT:!!trust*:#: {
notice $nick $iif(%trust [ $+ [ $2 ] ], $2 has a trust level of %trust [ $+ [ $2 ] ],$2 has no trust level) 
}

And there you go :| super shortend.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.