Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
@@ ############################################################################ @@ @@ SGP - Help Data and +Help/+Wizhelp

@@ ############################################################################ @@ @@ SGP - Help Data and +Help/+Wizhelp

Ratings:
(0)
|Views: 50|Likes:
Published by Michael

More info:

Published by: Michael on Sep 29, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

07/01/2010

pdf

text

original

 
@@ ############################################################################@@@@SGP - Help Data and +help/+wizhelp commands for Penn and Tiny 2.2.x@@ 1 August 00@@ This file creates one new SGP object for the purpose of helpfile storage.@@ It adds +help and +wizhelp commands to existing SGP commands objects and@@ sets reference attributes for use by this code.@@@@ This +help system is very basic, but functional. Certainly, there are@@ better systems around. Look for one, if this code doesn't suit your needs.@@@@ Coded by BEM and Audumla@Sandbox@@@@ Updated 4 Jan 01 to add +version and correct a problem with &LIST_COMMANDS@@ on servers with native multipaging.@@@@ Updated 28 Jun 00 to fix a bug in DO_COL that rendered +help and +wizhelp@@ non-functional. Patch by Raevnos@M*U*S*H@@@@ Updated 17 July 00 to add a file for the +motd code.@@@@ Updated 25 April 01 to update a file for the +motd code.@@@@ ############################################################################@pemit me=Setting +help and +wizhelp commands in the main globals.... Moment.&CMD-PLUS-HELP SGP - Main Globals=$+help*:@pemit%#=setq(0,help_[edit(trim(%0),%b,_)])[switch(setq(1,match(lattr(v(help-db)),%q0))%q1,0,{Sorry, no +help available on that topic},u(v(help-db)/[index(lattr(v(help-db)),,%q1,1)]))]&CMD-PLUS-WIZHELP SGP - Staff Globals=$+wizhelp*:@pemit%#=setq(0,wizhelp_[edit(trim(%0),%b,_)])[switch(setq(1,match(lattr(v(help-db)),%q0))%q1,0,{Sorry, no +wizhelp available on that topic},u(v(help-db)/[index(lattr(v(help-db)),,%q1,1)]))]@pemit me=Creating SGP - Help Data.... Moment.@create SGP - Help Data@wait 0=&HELP-DB SGP - Main Globals=num(SGP - Help Data)@wait 0=&HELP-DB SGP - Wizard Globals=num(SGP - Help Data)@wait 0=&HELP-DB SGP - Staff Globals=num(SGP - Help Data)@pemit me=Now setting functional code for +help code.... Moment.&DO_COL SGP - HelpData=[setq(0,fold(max_length,%0,0,%1))][setq(1,div(76,add(%q0,1)))][setq(2,sub(div(76,%q1),1))][setq(3,add(1,div(sub(words(%0,%1),1),%q1)))][setq(4,0)][iter(lnum(%q3),%r%b%b[iter(lnum(%q1),ljust(index(%0,%1,setq(4,add(1,%q4))%q4,1),%q2))])]&DO_LIST SGP - Help Data=[u(do_col,edit(edit(sort(edit(%0,HELP_,)),%b,|),_,%b),|)]&DO_WIZLIST SGP - Help Data=[u(do_col,edit(edit(sort(edit(%0,WIZHELP_,)),%b,|),_,%b),|)]&HELP_ SGP - Help Data=[repeat(-,78)]%RHelp on the following topics is avaliable
 
by typing: +help <topic>%R[u(do_col,sort(v(list_commands),a,|),|)]%R[repeat(-,78)]&HELP_ALL SGP - Help Data=[repeat(-,78)]%RThe following is a list of ALL thetopics available using +help:%R[u(do_list,lattr(me/help_*))]%R[repeat(-,78)]@switch version()=TinyMUSH version 2.2.*,{&LIST_COMMANDS SGP - Help Data=ALL|BACKGROUNDS|+beginner|+cnotes|+finger|+finger-setup|+glance|+ic|+info|+info-setup|+knock|+3who*|+lwho|+shout|+staff|+staff-all|+timestamp|+timestop|+uptime|+view|+view-setup|+warn|+where|+who|@register|CREDITS|mutter|OOC|PLACES|places-config|places-options|plook|mp},{&LIST_COMMANDS SGP - Help Data=ALL|BACKGROUNDS|+beginner|+cnotes|+finger|+finger-setup|+glance|+ic|+info|+info-setup|+knock|+3who*|+lwho|+shout|+staff|+staff-all|+timestamp|+timestop|+uptime|+view|+view-setup|+warn|+where|+who|@register|CREDITS|mutter|OOC|PLACES|places-config|places-options|plook}&MAX_LENGTH SGP - Help Data=max(%0,strlen(%1))&WIZHELP_ SGP - Help Data=[repeat(-,78)]%RHelp on the following topics isavaliable by typing: +wizhelp <topic>%R[u(do_col,sort(v(wizlist_commands),a,|),|)]%R[repeat(-,78)]&WIZHELP_ALL SGP - Help Data=The following is a list of ALL the topics availableusing +wizhelp:%R[u(do_wizlist,lattr(me/wizhelp_*))]&WIZLIST_COMMANDS SGP - Help Data=ALL|+accept|BACKGROUNDS|+cnotes|+commands|+contents|+duty|+join|+motd|+register|+rjoin|+rsummon|+stnotes|+summon|+timestamp|CONFIGURE|DEFAULTS|FUNCTIONS|PROJECT|+staff|+version@pemit me=Now setting +HELP attributes.... Moment. &HELP_BACKGROUNDS Help Data=[repeat(-,78)]%RCommands for Setting yourBackground:[space(21)]%R%R[space(2)]SYNTAX:[space(2)]+bg <#>[space(17)]- Read abackground section.%R[space(11)]+bglist[space(17)]- List out sections that havebeen created%R[space(11)]+bgadd <#>=<text>[space(7)]- Add to a backgroundsection.%R[space(11)]+bgrem <#>=<text>[space(7)]- Removes text from a backgroundsection.%R[space(11)]+bgrep <#>=<old>/<new>[space(2)]- Replaces text in abackground section.%R[space(11)]+bgclear <#>[space(12)]- Clears a backgroundsection.%R[space(11)]+bglock <#>[space(13)]- Locks a background section whenfinished.%R%R[space(2)]The '<#>' sign in the BG help stands for the number of thesection you are%R[space(2)]working on. The BG commands allows for multiplesections so that your %R[space(2)]background can be broken up into reasonablysized pieces of text.%R[repeat(-,78)]&HELP_CREDITS SGP - Help Data=[repeat(-,78)]%RCredits%R%R[space(2)]SGP is a broad,cross platform coding effort with numerouscontributors.[space(2)]%R[space(2)]Current contributors of code and assistance intesting, writing helpfiles, %R[space(2)]and pithy comments are asfollows:%R%R[space(4)]Audumla@Everywhere[space(3)]--A little bit of everything,+staff and +staff/all, %R[space(27)]+beginner, +version, and installerfiles.%R[space(4)]BEM@Granite[space(10)]--Much of the base code including +who,joining %R[space(27)]and summon commands, debugging.%R[space(4)]Miateila@Granite[space(5)]--+finger and LOTS of pithycommentary%R[space(4)]Hilikiradi@Sandbox[space(3)]--Debugging, Penn platformtests, +cnotes, %R[space(27)]+lwho, PLACES upgrades, and installer files.%R[space(4)]Brazil@Everywhere[space(4)]--MUX 2.0 issues%R[space(4)]Talek, Javelin,Raevnos, David,%R[space(4)]Vexon@M*U*S*H[space(8)]--Penn Issues%R[space(4)]Ashen-
 
Shugar[space(9)]--RhostMUSH Issues%R[space(4)]Lilith@Sandbox[space(7)]--Debugging,@register %R[space(4)]Hunger@Pacifica[space(6)]--Debugging,Aesthetics%R[space(4)]Jeff@TSC[space(13)]--+version %R[repeat(-,78)]&HELP_+BEGINNER SGP - Help Data=[repeat(-,78)]%R+beginner%R%R[space(2)]MUSH is newto some of you and probably a little daunting. To ease your %R[space(2)]feelingsof panic, we offer a very basic list of commands that will get you%R[space(2)]looking around and using the various features of thegame.%R%R[space(4)]"<message>[space(16)]You say <message>.%R[space(4)]Say<message>[space(13)]See above.%R[space(4)]ooc <message>[space(13)]Makes an OOCstatement or pose.%R[space(4)]page <person>=<message>[space(3)]Pages <person> with<message>.%R[space(4)]look[space(22)]Shows you the room you are standingin.%R[space(4)]look <object or person>[space(3)]Shows the desc for that object orperson.%R[space(4)]pose <message>[space(12)]You pose <message> EX: pose grins.->John Doe %R[space(30)]grins.%R[space(4)]:<message>[space(16)]See 'pose"above%R[space(4)]WHO[space(23)]Shows a list of who is connected to theMUSH.%R[space(4)]+staff[space(20)]Shows connectedStaff.%R[space(4)]+staff/all[space(16)]Shows the staff roster.%R%R[space(2)]NOTE:MUSH commands may be case sensitive. You can always page a staffer %R[space(2)]forhelp.%R%R[space(2)]'+beginner' also recalls this file%R[repeat(-,78)]&HELP_+CNOTES SGP - Help Data=[repeat(-,78)]%R+cnotes%R%R[space(2)]SYNTAX:+cnotelist[space(13)]- Gives you a list of all cnotes on your%R[space(35)]character object.%R[space(10)]+cnoteview <notename>[space(2)]- Showsyou the contents of the named cnote.%R[space(10)]+cnote <notename>=text - Sets&cnote<notename> on the player to the %R[space(35)]value of the text with personand time %R[space(35)]added.%R[space(24)]%R[space(2)]To set notes on rooms, exits,and other objects that you own, set an %R[space(2)]attribute: &CNOTE_<notename><object>=<text>%R%R[space(2)]Please note that some cnotes require staff approvalbefore they can go into %R[space(2)]effect ICly.[space(2)]Consult a member ofstaff for assistance.[space(2)]%R[repeat(-,78)]&HELP_+FINGER SGP - Help Data=[repeat(-,78)]%R+finger %R%R[space(2)]SYNTAX:+finger <name>%R[space(11)]%R%R[space(2)]This command shows you various bits ofinformation about and will also %R[space(2)]accept "me" as anargument.[space(2)]+finger is generally a command that notes OOC%R[space(2)]information and should not be considered IC unless game policy%R[space(2)]specifically says otherwise.%R%R[space(2)]See Also '+finger-setup' forconfiguration options.[space(2)]%R[repeat(-,78)]&HELP_+FINGER-SETUP SGP - Help Data=[repeat(-,78)]%RFingerSetup%R[space(2)]%R[space(2)]Attributes read by thiscommand:%R[space(8)]%R[space(2)]E-MAIL:[space(14)]Your email address(optional)[space(3)]%R[space(2)]POSITION:[space(12)]YourPosition%R[space(2)]SHORT-DESC:[space(10)]A short description ofyourself[space(2)]%R[space(2)]FULLNAME:[space(12)]Your character's fullname.%R[space(2)]AGE:[space(17)]Your real age%R[space(2)]FAME:[space(16)]What youare known for.%R[space(2)]APP_AGE:[space(13)]Your apparentage%R[space(2)]PLAN:[space(16)]Any plans your character may have%R[space(2)]RP-PREFS:[space(12)]Any RP Prefs that you may have as aperson%R[space(2)]ALTS:[space(16)]Alternate characters you may be knownas%R[space(2)]THEMESONG:[space(11)]Your Theme Song%R[space(2)]QUOTE:[space(15)]Atypical quote from your character%R[space(2)]OFF-HOURS:[space(11)]When you areusually online.%R[space(2)]TEMPERMENT:[space(10)]Should explain itself,really.%R[space(2)]VACATION:[space(12)]The dates you expect to begone.%R[space(2)]URL:[space(17)]Your homepage, if any.%R[space(2)]&FINGER-<whatever>:[space(2)]Let's you add other

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->