Advertisement
TheKeeper81

Untitled

Dec 29th, 2021
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. tokens = llParseString2List(message,["="],[]);
  2. cmd = llToLower(llStringTrim(llList2String(tokens,0),STRING_TRIM));
  3. data = llList2String(tokens,1);
  4. subtokens = llCSV2List(data);
  5. statname = llList2String(subtokens,0);
  6. idata = llList2Integer(subtokens,1);
  7. i2data = llList2Integer(subtokens,2);
  8. i3data = llList2Integer(subtokens,3);
  9. sdata = llList2String(subtokens,1);
  10. if ( cmd == "version" ) { CHECK_D6CARDVERSION(data); return;}
  11. if ( cmd == "charactername" ) { SET_CHARACTERNAME(data); return; }
  12. if ( cmd == "species" ) { SET_SPECIES(data); return;}
  13. if ( cmd == "otherinformation" ) { SET_OTHERINFORMATION(data); return; }
  14. if ( cmd == "occupation" ) { SET_OCCUPATION(data); return; }
  15. if ( cmd == "attribute" ) { SET_ATT(statname,idata,i2data,i3data); return; }
  16. if ( cmd == "advan" ) { SET_ADVAN(statname,idata,i2data); return;}
  17. if ( cmd == "disad" ) { SET_DISAD(statname,idata,i2data); return;}
  18. if ( cmd == "skill" ) { SET_SKILL(statname,idata,i2data,i3data); return;}
  19. if ( cmd == "extranormal_psionics" ) { SET_EXTRANORMAL_PSIONICS(statname,idata,i2data,i3data); return;}
  20. if ( cmd == "extranormal_magic" ) { SET_EXTRANORMAL_MAGIC(statname,idata,i2data,i3data); return;}
  21. if ( cmd == "extranormal_powers" ) { SET_EXTRANORMAL_POWERS(statname,idata,i2data,i3data); return;}
  22. if ( cmd == "special_abilities" ) { SET_SPECIAL_ABILITIES(statname,idata,i2data,i3data); return;}
  23. if ( cmd == "skill_specializations" ) { SET_SKILL_SPECIALIZATIONS(statname,idata,i2data,i3data); return;}
  24. if ( cmd == "bodypoints" ) { SET_BODYPOINTS(idata,i2data); return;}
  25. if ( cmd == "funds" ) { SET_FUNDS(idata,i2data); return;}
  26. if ( cmd == "equipment" ) { SET_EQUIPMENT(statname,idata,i2data,i3data); return;}
  27. if ( cmd == "xp" ) { SET_XP(idata); return; }
  28. if ( cmd == "xplevel" ) { SET_XPLEVEL(idata); return; }
  29. if ( cmd == "attpool" ) { SET_ATTPOOL(idata); return; }
  30. if ( cmd == "skillpool" ) { SET_SKILLPOOL(idata); return; }
  31. if ( cmd == "fundspool" ) { SET_FUNDSPOOL(idata); return; }
  32. if ( cmd == "character_loaded" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement