/halt Demonstration

By UTUCS.com-Admin on Apr 05, 2004

This snippet is a short alias that shows you a little about /halt. I have tested it, with just /haltdem, and no action. It doesn't use an else statement, which most of you will probably do.

If you type /haltdem , it will not say anything.

If anyone has seen another /halt demonstration, as X-FILE said I rip others' work, please respond in the comments. Honestly, I haven't seen another /halt demonstration anywhere.

; /halt Demonstration by UTUCS.com-Admin
;
; Put this into remotes, and type /haltdem.
; Notice that the script doesn't do anything.
; Then type /haltdem <anything here>, and
; notice that it says something. It's another
; way without using else.
alias haltdem {
  if (!$1) {
    halt
  }
  echo -a You put parameters into /haltdem.
}
; Also, this code would work fine I believe
; (I haven't tested it, I only tested /haltdem):
;
; alias haltdem {
;   if (!$1) {
;     halt
;   }
;   else {
;     echo -a You put parameters into /haltdem.
;   }
;}

Comments

Sign in to comment.
SaltyFrie   -  Apr 28, 2004

Well... You don\'t really see /halt demonstrations because it\'s kind of a stupid thing to make. Sorry...

 Respond  
UTUCS.com-Admin   -  Apr 13, 2004

X-FILE [banned]

 Respond  
UTUCS.com-Admin   -  Apr 07, 2004

I just searched for \"halt\" on the snippets page, and only found this. Point me to the URL of another /halt demonstration.

 Respond  
UTUCS.com-Admin   -  Apr 07, 2004

I never saw anything that\'s a /halt demonstration, ever.

 Respond  
X-FILE   -  Apr 05, 2004

Honestly , you rip other\'s work and just change the name of the alias.

 Respond  
X-FILE   -  Apr 05, 2004

Also .. ; Also, this code would work fine I believe ; (I haven\'t tested it, I only tested /haltdem). seems like the dude here doesnt have time to type /haltdem whatever.

 Respond  
X-FILE   -  Apr 05, 2004

lol...; Put this into remotes, and type /haltdem. ; Notice that the script doesn\'t do anything. That\'s funny :)

 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.