How good is the console really?

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby shaggy » Fri May 02, 2008 9:14 am

Could someone please give me an example of a command using defer that loops. Xeno did it to me, it repeated Haha every second.

Code: Select all
defer 1 "say Haha ; loop"
alias loop "defer 1 /"say Haha""


I'm really stumped. [/code]
shaggy
Alien trapper
 
Posts: 419
Joined: Tue Apr 03, 2007 6:12 am

Postby Mr. Bougo » Fri May 02, 2008 12:05 pm

You want it more like:

alias loop "say haha; defer 1 loop"

Simpler :)

The problem is that it won't stop :p
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm

Postby GreEn`mArine » Fri May 02, 2008 12:42 pm

then stop by setting the alias loop to ""
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby shaggy » Fri May 02, 2008 10:30 pm

Ah that's it :D thank you. Mr. Bougo and Green Marine.
shaggy
Alien trapper
 
Posts: 419
Joined: Tue Apr 03, 2007 6:12 am

Previous

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron