( Mbamh's Pinfo v1.1 - 11/10/97 ) ( it's a pinfo program - yippy! ) lvar oldprop lvar player lvar playerdbref lvar dispprop lvar disptell : display dispprop ! disptell ! playerdbref @ dispprop @ getpropstr disptell @ swap strip dup if strcat .tell else pop then ; : help "========================================" .tell "Mbamh's Pinfo v1.1 - 11/10/97" .tell "----------------------------------------" .tell command @ " - read someone's pinfo" strcat .tell command @ " #set - set your pinfo" strcat .tell command @ " #help - this help screen" strcat .tell "========================================" .tell ; : allert dispprop ! disptell ! me @ dispprop @ getpropstr dup oldprop ! disptell @ swap strip dup not if " " swap pop then strcat .tell me @ dispprop @ read 1 addprop me @ dispprop @ getpropstr dup ".*" smatch if dup ".d*" smatch if me @ dispprop @ " " 1 addprop "Field deleted." .tell exit then me @ dispprop @ oldprop @ 1 addprop "Field skipped." .tell then ; : main strip dup not if "Type '" command @ strcat " #help' for help." strcat .tell exit else dup "#h*" smatch if help exit then dup "#s*" smatch if pop "========================================" .tell "Mbamh's Pinfo v1.1 - Set" .tell "----------------------------------------" .tell "Type a period '.' to skip a field" .tell "Type '.d' to delete a field" .tell "Type '@Q' to abort this edit" .tell "----------------------------------------" .tell "OOC Information - 8 items" .tell "----------------------------------------" .tell "1/7 RL Name: " "bampinfo/oocname" allert "2/7 Email: " "bampinfo/email" allert "3/7 Homepage: " "bampinfo/homepage" allert "4/7 Location: " "bampinfo/location" allert "5/7 Birthday/Age: " "bampinfo/birthdayage" allert "6/7 Job/School: " "bampinfo/jobschool" allert "7/7 Misc: " "bampinfo/oocmisc" allert "----------------------------------------" .tell "IC Information - 7 items" .tell "----------------------------------------" .tell "1/7 IC Name: " "bampinfo/icname" allert "2/7 Job/Trade: " "bampinfo/jobtrade" allert "3/7 Group: " "bampinfo/group" allert "4/7 Hangout: " "bampinfo/hangout" allert "5/7 Age: " "bampinfo/icage" allert "6/7 Character Background: " "bampinfo/charbg" allert "7/7 IC Misc: " "bampinfo/icmisc" allert "Pinfo Updated." .tell "Done." .tell exit then player ! player @ .pmatch dup int dup -1 > if pop playerdbref ! "========================================" .tell "Pinfo for " playerdbref @ name strcat .tell "----------------------------------------" .tell "OOC (Out of Character) Section" .tell "----------------------------------------" .tell "RL Name: " "bampinfo/oocname" display "Email: " "bampinfo/email" display "Homepage: " "bampinfo/homepage" display "Location: " "bampinfo/location" display "Birthday/Age: " "bampinfo/birthdayage" display "Job/School: " "bampinfo/jobschool" display "Misc: " "bampinfo/oocmisc" display "----------------------------------------" .tell "IC (In Character) Section" .tell "----------------------------------------" .tell "IC Name: " "bampinfo/icname" display "Gender: " playerdbref @ "~sex" getpropstr strcat .tell "Species: " playerdbref @ "~species" getpropstr strcat .tell "Job/Trade: " "bampinfo/jobtrade" display "Group: " "bampinfo/group" display "Hangout: " "bampinfo/hangout" display "Age: " "bampinfo/icage" display "Character Background: " "bampinfo/charbg" display "Misc: " "bampinfo/icmisc" display "========================================" .tell else "Player not found. Type '" command @ strcat " #help' for help." strcat .tell then then ;