Custom aliases I use

By Vengeance on Oct 25, 2007

These are two of my most used aliases I made

Granted most are simple but they are usefull

;;;
;Checks to see if user is in room ( return's $true/$false )
;Usage $nickcheck(#room,$nick)
;;;
alias nickcheck {
  return $iif($2 ison $1,$true,$false)
}

;;;
;just a shortcut
;usage $truedeltok(data,value,C)
;;;

alias truedeltok {
  return $deltok($1,$findtok($1,$2,$3),$3)
}

Comments

Sign in to comment.
Vengeance   -  Oct 25, 2007

mountaindew your right :(

\"Wouldn\'t $remove($1-,etc) do the same thing as $truedeltok? Also, you are lacking much error checking here\"

Meh don\'t want to risk messing with tokens with remove I often use to many spaces which would mess it up
and wild cards are sketchy

 Respond  
FLCL   -  Oct 25, 2007

Wouldn\'t $remove($1-,etc) do the same thing as $truedeltok? Also, you are lacking much error checking here.

 Respond  
guest598594   -  Oct 25, 2007

u dont need to loop, just check if ison

return $iif($2 ison $1,$true,$false)
 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.