Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tokens = llParseString2List(message,["="],[]);
- cmd = llToLower(llStringTrim(llList2String(tokens,0),STRING_TRIM));
- data = llList2String(tokens,1);
- subtokens = llCSV2List(data);
- statname = llList2String(subtokens,0);
- idata = llList2Integer(subtokens,1);
- i2data = llList2Integer(subtokens,2);
- i3data = llList2Integer(subtokens,3);
- sdata = llList2String(subtokens,1);
- if ( cmd == "version" ) { CHECK_D6CARDVERSION(data); return;}
- if ( cmd == "charactername" ) { SET_CHARACTERNAME(data); return; }
- if ( cmd == "species" ) { SET_SPECIES(data); return;}
- if ( cmd == "otherinformation" ) { SET_OTHERINFORMATION(data); return; }
- if ( cmd == "occupation" ) { SET_OCCUPATION(data); return; }
- if ( cmd == "attribute" ) { SET_ATT(statname,idata,i2data,i3data); return; }
- if ( cmd == "advan" ) { SET_ADVAN(statname,idata,i2data); return;}
- if ( cmd == "disad" ) { SET_DISAD(statname,idata,i2data); return;}
- if ( cmd == "skill" ) { SET_SKILL(statname,idata,i2data,i3data); return;}
- if ( cmd == "extranormal_psionics" ) { SET_EXTRANORMAL_PSIONICS(statname,idata,i2data,i3data); return;}
- if ( cmd == "extranormal_magic" ) { SET_EXTRANORMAL_MAGIC(statname,idata,i2data,i3data); return;}
- if ( cmd == "extranormal_powers" ) { SET_EXTRANORMAL_POWERS(statname,idata,i2data,i3data); return;}
- if ( cmd == "special_abilities" ) { SET_SPECIAL_ABILITIES(statname,idata,i2data,i3data); return;}
- if ( cmd == "skill_specializations" ) { SET_SKILL_SPECIALIZATIONS(statname,idata,i2data,i3data); return;}
- if ( cmd == "bodypoints" ) { SET_BODYPOINTS(idata,i2data); return;}
- if ( cmd == "funds" ) { SET_FUNDS(idata,i2data); return;}
- if ( cmd == "equipment" ) { SET_EQUIPMENT(statname,idata,i2data,i3data); return;}
- if ( cmd == "xp" ) { SET_XP(idata); return; }
- if ( cmd == "xplevel" ) { SET_XPLEVEL(idata); return; }
- if ( cmd == "attpool" ) { SET_ATTPOOL(idata); return; }
- if ( cmd == "skillpool" ) { SET_SKILLPOOL(idata); return; }
- if ( cmd == "fundspool" ) { SET_FUNDSPOOL(idata); return; }
- if ( cmd == "character_loaded" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement