Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Yandex

Members: 0
Guests: 14
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
619
Alexander
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SmaugFUSS » Curious..
Forum Rules | Mark all | Recent Posts

Curious..
< Newer Topic :: Older Topic > Command Stacking

Pages:<< prev 1 next >>
Post is unread #1 Feb 22, 2003, 1:17 am
Go to the top of the page
Go to the bottom of the page

Cray
Member
GroupMembers
Posts9
JoinedDec 20, 2002

Well, thought I'd give the coding board a new post, seeing as how no one else has for a few days :P

Anyways, on with the question. I want to basically help the less fortunate( :lol: ) who have to use telnet, by giving an in game command stacker. I've heard there's a snippet for it, but can't find it. Nor can I even begin to comprehend on how to code it myself. Blasted interpret function! Its prolly quite simple, with a loop to read the line.. but I can't make it work.

Thanks in advance to anyone at all who can help :D
       
Post is unread #2 Feb 22, 2003, 3:27 am
Go to the top of the page
Go to the bottom of the page

Orion
Master Member
GroupMembers
Posts35
JoinedNov 12, 2002

I can give you a generic run down of what would be needed, etc.... but I can't tell you exactly how to do it (never done it myself). ;)

Basically, you'll need a new char * variable to store their comm. sep. string. In the interp function you'll need loop through their command input scanning for that comm. sep. string. Everytime its found break off everything before it into a new variable, then let the new variable be run.

Repeat until the string is empty. This may sound a bit off, but I've just woken up... :P
       
Pages:<< prev 1 next >>