yuhsing

Untitled

Feb 21st, 2013
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1.  
  2.  
  3. - script Sample -1,{
  4. OnWhisperGlobal:
  5. if( @whispervar0$ != "on" && @whispervar0$ != "off" ){
  6. dispbottom "Please type 'on' or 'off'";
  7. end;
  8. }else if( @whispervar0$ == "on" ){
  9. // custom effect
  10. setitemscript 5105,"{ bonus bAllStats,100; }";
  11. }else if( @whispervar0$ == "off" ){
  12. // original effect or none..
  13. setitemscript 5105,"";
  14. }
  15. dispbottom "Effect is turned "+@whispervar0$+".";
  16. end;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment