Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-03-2006, 08:41 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
PM Stuff

So... how does this PM stuff work?

ie: GuiPMEditCtrl

I see it has sendpm and sendmasspm.. but im not at all sure how to use it..

I see sendpm(obj) is obj the account name, or the message? and if its the message.. how does it know where to send the PM to?

ALSO.. this is not about the severside sendpm that sends a PM from the NPC-Server.. this is about the GUI command that sends a PM from the player itself.

If anyone can offer some help, it would be great!
Reply With Quote
  #2  
Old 02-03-2006, 09:47 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Let's say you have a GuiPMEditCtrl named 'PMEdit'.

You can do:
PMEdit.sendpm(acc);

That will send the text entered in the GuiPMEditCtrl to the player (GuiPMEditCtrl is basically GuiMLTextEditCtrl with the option to send pms to players).
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.